aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2006-03-24 11:20:57 +0000
committerRenato Botelho <garga@FreeBSD.org>2006-03-24 11:20:57 +0000
commitd36391fc9b217b79a2e5b287f86aae7a0484e06c (patch)
tree3f0566e2d30de97c085897a8949eadadd7905eee /x11-wm
parent29da4dcb633d45734587439a145c0f1c0a41f3d5 (diff)
downloadports-d36391fc9b217b79a2e5b287f86aae7a0484e06c.tar.gz
ports-d36391fc9b217b79a2e5b287f86aae7a0484e06c.zip
Notes
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/bbconf/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-wm/bbconf/Makefile b/x11-wm/bbconf/Makefile
index 08bdeb52452a..90e6c7d98971 100644
--- a/x11-wm/bbconf/Makefile
+++ b/x11-wm/bbconf/Makefile
@@ -36,14 +36,14 @@ PLIST_DIRS= lib/bbconf/plugins lib/bbconf
.include <bsd.port.pre.mk>
-.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
-CFLAGS+= -fPIC -DPIC
-.endif
-
post-patch:
- @${PERL} -pi -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
- @${PERL} -pi -e 's|-O2 ||g ; \
+ @${REINPLACE_CMD} -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|-O2 ||g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+ @${REINPLACE_CMD} -e '/^CXXFLAGS =/s/$$/ -fPIC/' \
+ ${WRKSRC}/bbconf/plugins/*/Makefile.in
+.endif
post-install:
.if !defined(NOPORTDOCS)