summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-06-09 14:03:13 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-06-09 14:03:13 +0800
commit6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c (patch)
treef13a339241311e449b85f5c57a967ebd2b7e3127
parent27037af8b5ab20207f05f2b9dbd8adea71ada84d (diff)
downloadmarcuscom-ports-6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c.tar
marcuscom-ports-6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c.tar.gz
marcuscom-ports-6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c.tar.bz2
marcuscom-ports-6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c.tar.lz
marcuscom-ports-6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c.tar.xz
marcuscom-ports-6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c.tar.zst
marcuscom-ports-6d215f06aca79786d3d6c6c8f818bb4edf0b0b4c.zip
Don't require the whole gnome-vfs-2.0 in our .pc file. Instead, just make sure
we pass a reference to PTHREAD_LIBS. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2379 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--graphics/librsvg2/Makefile5
-rw-r--r--graphics/librsvg2/files/patch-librsvg-2.0.pc.in13
2 files changed, 11 insertions, 7 deletions
diff --git a/graphics/librsvg2/Makefile b/graphics/librsvg2/Makefile
index 6fdd5aac5..519ddc242 100644
--- a/graphics/librsvg2/Makefile
+++ b/graphics/librsvg2/Makefile
@@ -27,6 +27,7 @@ USE_GMAKE= yes
USE_X_PREFIX= yes
INSTALLS_SHLIB= yes
USE_LIBTOOL_VER=13
+USE_REINPLACE= yes
USE_GNOME= gnomehack gnomeprefix lthack libartlgpl2 libgsf gnomevfs2
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@@ -43,4 +44,8 @@ PLIST_SUB= GTK_VERSION=${GTK_VERSION}
MAN1= rsvg.1
+post-patch:
+ @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
+ ${WRKSRC}/librsvg-2.0.pc.in
+
.include <bsd.port.mk>
diff --git a/graphics/librsvg2/files/patch-librsvg-2.0.pc.in b/graphics/librsvg2/files/patch-librsvg-2.0.pc.in
index f0e655ec2..8210a432b 100644
--- a/graphics/librsvg2/files/patch-librsvg-2.0.pc.in
+++ b/graphics/librsvg2/files/patch-librsvg-2.0.pc.in
@@ -1,10 +1,9 @@
---- librsvg-2.0.pc.in.orig Wed Jun 9 01:35:56 2004
-+++ librsvg-2.0.pc.in Wed Jun 9 01:36:06 2004
-@@ -6,6 +6,6 @@
- Name: librsvg
+--- librsvg-2.0.pc.in.orig Fri Jun 4 20:23:35 2004
++++ librsvg-2.0.pc.in Wed Jun 9 01:58:50 2004
+@@ -7,5 +7,5 @@
Description: library that renders svg files
Version: @VERSION@
--Requires: glib-2.0 gdk-pixbuf-2.0
-+Requires: glib-2.0 gdk-pixbuf-2.0 gnome-vfs-2.0
- Libs: -L${libdir} -lrsvg-2
+ Requires: glib-2.0 gdk-pixbuf-2.0
+-Libs: -L${libdir} -lrsvg-2
++Libs: -L${libdir} -lrsvg-2 %%PTHREAD_LIBS%%
Cflags: -I${includedir}/librsvg-2