From 0e17446605d8a4035c4b900f2a7d7333e5c784d3 Mon Sep 17 00:00:00 2001 From: Michael Johnson Date: Tue, 7 Nov 2006 22:23:01 +0000 Subject: - Fix PTHREAD_LIBS in .pc files --- devel/gnome-vfs/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'devel/gnome-vfs/Makefile') diff --git a/devel/gnome-vfs/Makefile b/devel/gnome-vfs/Makefile index 1312fc788f55..d805fa90ba2c 100644 --- a/devel/gnome-vfs/Makefile +++ b/devel/gnome-vfs/Makefile @@ -8,7 +8,7 @@ PORTNAME= gnome-vfs PORTVERSION= 2.16.2 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/gnome-vfs/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -77,6 +77,8 @@ CONFIGURE_ARGS+=--disable-avahi .endif post-patch: + @${REINPLACE_CMD} -e 's|@PTHREAD_LIB@|${PTHREAD_LIBS}|' \ + ${WRKSRC}/gnome-vfs-2.0.pc.in ${WRKSRC}/gnome-vfs-module-2.0.pc.in @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/libgnomevfs/Makefile.in @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \ -- cgit v1.2.3