diff options
author | arved <arved@FreeBSD.org> | 2004-09-03 05:10:54 +0800 |
---|---|---|
committer | arved <arved@FreeBSD.org> | 2004-09-03 05:10:54 +0800 |
commit | e3bf805ce83c0dbe289eb292d4b61ef355150b33 (patch) | |
tree | 338775dc72b2b0a161ea754dcabc71549e01cae4 /irc | |
parent | 3c609b147216532254906d361ad9316fbd4fd6e6 (diff) | |
download | freebsd-ports-gnome-e3bf805ce83c0dbe289eb292d4b61ef355150b33.tar.gz freebsd-ports-gnome-e3bf805ce83c0dbe289eb292d4b61ef355150b33.tar.zst freebsd-ports-gnome-e3bf805ce83c0dbe289eb292d4b61ef355150b33.zip |
Fix build with gcc3.4
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> |