summaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-15 01:49:42 +0000
committerpav <pav@FreeBSD.org>2003-11-15 01:49:42 +0000
commite676f23b5b4e4fce7393a42350ff511258ebac40 (patch)
tree063f56fe4e797bd7f450ac1f363ac07439db77df /deskutils
parentf310e618cad5a5e63b90e4127824672e21991092 (diff)
downloadFreeBSD-ports-e676f23b5b4e4fce7393a42350ff511258ebac40.zip
FreeBSD-ports-e676f23b5b4e4fce7393a42350ff511258ebac40.tar.gz
UnPERLify [1]
Use modular USE_GNOME PR: ports/48247 [1] Submitted by: Simon Schubert <corecode@corecode.ath.cx> [1] Approved by: adamw (mentor)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/yank/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/deskutils/yank/Makefile b/deskutils/yank/Makefile
index f0df83d..fcc2dbe 100644
--- a/deskutils/yank/Makefile
+++ b/deskutils/yank/Makefile
@@ -18,20 +18,17 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
USE_BZIP2= yes
USE_X_PREFIX= yes
+USE_REINPLACE= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOME= gnomelibs gnomehack gnomeprefix
USE_LIBTOOL= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LIBS="-L${LOCALBASE}/lib"
-pre-patch:
- @${PERL} -pi -e 's^-l(pthread|c_r)^${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'
+post-patch:
+ @${REINPLACE_CMD} -E 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g' ${WRKSRC}/configure
@${FIND} ${WRKSRC}/src/Plugins -name "Makefile.in" | \
- ${XARGS} ${PERL} -pi -e \
- 's|_la_LDFLAGS =|_la_LDFLAGS = -avoid-version|g'
+ ${XARGS} ${REINPLACE_CMD} -e \
+ 's|_la_LDFLAGS =|& -avoid-version|g'
.include <bsd.port.mk>
OpenPOWER on IntegriCloud