summaryrefslogtreecommitdiffstats
path: root/graphics/librsvg2/Makefile
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 /graphics/librsvg2/Makefile
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
Diffstat (limited to 'graphics/librsvg2/Makefile')
-rw-r--r--graphics/librsvg2/Makefile5
1 files changed, 5 insertions, 0 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>