diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2004-09-02 21:10:54 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2004-09-02 21:10:54 +0000 |
commit | 0262544f0dd5919620fb9e30047c01539f824220 (patch) | |
tree | 263bf87a146dac0d753613d2ae205dc2eb9655b3 /irc | |
parent | Fix build with gcc 3.4 (diff) |
Fix build with gcc3.4
Notes
Notes:
svn path=/head/; revision=117969
Diffstat (limited to 'irc')
-rw-r--r-- | irc/kmyirc/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/irc/kmyirc/Makefile b/irc/kmyirc/Makefile index dacb63b15294..00afc6a3161c 100644 --- a/irc/kmyirc/Makefile +++ b/irc/kmyirc/Makefile @@ -19,5 +19,12 @@ USE_KDELIBS_VER= 3 USE_GMAKE= yes CONFIGURE_TARGET= CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} +USE_REINPLACE= yes + +post-patch: + ${REINPLACE_CMD} -e "s,-O0,${CFLAGS},g;s,NOOPT_,,g; \ + s,-pedantic ,,g;s,-pedantic-errors,,g" ${WRKSRC}/configure + ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \ + ${REINPLACE_CMD} -e "s,NOOPT_,,g;s,FLAGS@,FLAGS@ -fPIC," .include <bsd.port.mk> |