On 04/12 09:20, Remi Pointel wrote:
> Hi,
> 
> attached is the port of ruby pkg-config.
> 
> --
> pkg_info ruby23-pkg-config
> Information for inst:ruby23-pkg-config-1.1.7
> 
> Comment:
> tool for compiling Ruby native extensions
> 
> Description:
> pkg-config can be used in your extconf.rb to properly detect need libraries
> for
> compiling Ruby native extensions.
> 
> Maintainer: The OpenBSD ports mailing-list <[email protected]>
> --
> 
> Ok?

Remi,

The patch doesn't apply cleanly for me:

$ make
===>  Patching for ruby23-pkg-config-1.1.7
===>   Applying OpenBSD patch patch-lib_pkg-config_rb
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD$
|
|UGLY because $\{ -> ${ by SUBST_CMD.
|
|--- lib/pkg-config.rb.orig     Wed Dec 31 16:00:00 1969
|+++ lib/pkg-config.rb  Thu Jan 13 15:25:51 2011
--------------------------
Patching file lib/pkg-config.rb using Plan A...
Hunk #1 failed at 264.
1 out of 1 hunks failed--saving rejects to lib/pkg-config.rb.rej
done
***>   patch-lib_pkg-config_rb did not apply cleanly
===>   Ignoring patchfile patch-lib_pkg-config_rb.orig
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2561 
'/usr/obj/ports/pkg-config-1.1.7-ruby23/.patch_done': @if cd /usr/ports/myst...)
*** Error 1 in /usr/ports/mystuff/devel/ruby-pkg-config 
(/usr/ports/infrastructure/mk/bsd.port.mk:2344 'all')

For ruby-glib, you need to remove all entries from the plist that start
with:

${GEM_LIB}/extensions
${GEM_LIB}/gems/${DISTNAME}/ext

Thanks,
Jeremy

Reply via email to