aboutsummaryrefslogtreecommitdiffstats
path: root/devel/glib20
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-06-17 18:15:33 +0800
committersobomax <sobomax@FreeBSD.org>2002-06-17 18:15:33 +0800
commit2da582dd766d2acbf78632a831331055f3ee008d (patch)
tree2f1ed6faddc6434df1d13fe6566f02f348ea84ca /devel/glib20
parent0719e8d4dc4bea6d28ec926ea6b749446f6e9844 (diff)
downloadfreebsd-ports-gnome-2da582dd766d2acbf78632a831331055f3ee008d.tar.gz
freebsd-ports-gnome-2da582dd766d2acbf78632a831331055f3ee008d.tar.zst
freebsd-ports-gnome-2da582dd766d2acbf78632a831331055f3ee008d.zip
Don't leak --export-dynamic into installed gmodule-2.0.pc.
Diffstat (limited to 'devel/glib20')
-rw-r--r--devel/glib20/Makefile4
-rw-r--r--devel/glib20/files/patch-gmodule-2.0.pc.in12
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: