diff options
author | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-06-17 10:15:33 +0000 |
---|---|---|
committer | Maxim Sobolev <sobomax@FreeBSD.org> | 2002-06-17 10:15:33 +0000 |
commit | f1adb14e7d55abec6853b2799a85b2c03175a20b (patch) | |
tree | a67a3e4daa01a9892cd7b9454d16ae7222bf88eb /devel/glib20 | |
parent | Add sed_inplace 2002.06.17, a modified version of the sed(1) which (diff) |
Don't leak --export-dynamic into installed gmodule-2.0.pc.
Notes
Notes:
svn path=/head/; revision=61417
Diffstat (limited to 'devel/glib20')
-rw-r--r-- | devel/glib20/Makefile | 4 | ||||
-rw-r--r-- | devel/glib20/files/patch-gmodule-2.0.pc.in | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/devel/glib20/Makefile b/devel/glib20/Makefile index 33fd82ae1ac3..98755f103819 100644 --- a/devel/glib20/Makefile +++ b/devel/glib20/Makefile @@ -39,7 +39,7 @@ CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL} MAN1= glib-genmarshal.1 glib-mkenums.1 pre-patch: - @find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \ - 's|\$\(libdir\)/pkgconfig|\$\(prefix\)/libdata/pkgconfig|g' + @find ${WRKSRC} -name Makefile.in | xargs ${REINPLACE_CMD} -e \ + 's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' .include <bsd.port.mk> diff --git a/devel/glib20/files/patch-gmodule-2.0.pc.in b/devel/glib20/files/patch-gmodule-2.0.pc.in new file mode 100644 index 000000000000..44f565bc847c --- /dev/null +++ b/devel/glib20/files/patch-gmodule-2.0.pc.in @@ -0,0 +1,12 @@ + +$FreeBSD$ + +--- gmodule-2.0.pc.in 2002/06/12 04:06:24 1.1 ++++ gmodule-2.0.pc.in 2002/06/12 04:06:39 +@@ -9,5 +9,5 @@ + Description: Dynamic module loader for GLib + Requires: glib-2.0 + Version: @VERSION@ +-Libs: -L${libdir} @G_MODULE_LDFLAGS@ -lgmodule-2.0 @G_MODULE_LIBS@ ++Libs: -L${libdir} -lgmodule-2.0 @G_MODULE_LIBS@ + Cflags: |