aboutsummaryrefslogtreecommitdiff
path: root/news/pan/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'news/pan/Makefile')
-rw-r--r--news/pan/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/news/pan/Makefile b/news/pan/Makefile
index 46550f149b5b..cfd80541ea4f 100644
--- a/news/pan/Makefile
+++ b/news/pan/Makefile
@@ -20,18 +20,16 @@ MAINTAINER= gnome@FreeBSD.org
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gdkpixbuf
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib -lgnuregex -lcompat"
CONFIGURE_ARGS= --enable-html
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>