diff options
author | pav <pav@FreeBSD.org> | 2003-11-15 09:49:42 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2003-11-15 09:49:42 +0800 |
commit | e676f23b5b4e4fce7393a42350ff511258ebac40 (patch) | |
tree | 063f56fe4e797bd7f450ac1f363ac07439db77df | |
parent | f310e618cad5a5e63b90e4127824672e21991092 (diff) | |
download | freebsd-ports-gnome-e676f23b5b4e4fce7393a42350ff511258ebac40.tar.gz freebsd-ports-gnome-e676f23b5b4e4fce7393a42350ff511258ebac40.tar.zst freebsd-ports-gnome-e676f23b5b4e4fce7393a42350ff511258ebac40.zip |
UnPERLify [1]
Use modular USE_GNOME
PR: ports/48247 [1]
Submitted by: Simon Schubert <corecode@corecode.ath.cx> [1]
Approved by: adamw (mentor)
-rw-r--r-- | deskutils/yank/Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/deskutils/yank/Makefile b/deskutils/yank/Makefile index f0df83d97972..fcc2dbe77bcc 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> |