aboutsummaryrefslogtreecommitdiffstats
path: root/editors/zoinks/Makefile
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-11-05 18:04:15 +0800
committermiwi <miwi@FreeBSD.org>2007-11-05 18:04:15 +0800
commitf3ff0cddb86ae96e3c4e6db5d060e87e06c30c99 (patch)
tree9b8838598760f7c07cf7f04055e39c43834ae70c /editors/zoinks/Makefile
parent398a780838c48a4c3a7a7b3555f38224c23b509a (diff)
downloadfreebsd-ports-gnome-f3ff0cddb86ae96e3c4e6db5d060e87e06c30c99.tar.gz
freebsd-ports-gnome-f3ff0cddb86ae96e3c4e6db5d060e87e06c30c99.tar.zst
freebsd-ports-gnome-f3ff0cddb86ae96e3c4e6db5d060e87e06c30c99.zip
- Unbreak
- Fix build with gcc 4.2 PR: 117776 Submitted by: pietro cerutti <gahr@gahr.ch> Approved by: portmgr (pav)
Diffstat (limited to 'editors/zoinks/Makefile')
-rw-r--r--editors/zoinks/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/editors/zoinks/Makefile b/editors/zoinks/Makefile
index 007afa77381b..dc0985dfeb35 100644
--- a/editors/zoinks/Makefile
+++ b/editors/zoinks/Makefile
@@ -41,10 +41,8 @@ pre-everything::
@${ECHO_MSG} "Use WITH_IMLIB=yes to enable these features."
@${ECHO_MSG} ""
-.include <bsd.port.pre.mk>
+post-patch:
+ @${FIND} ${WRKSRC} -name *.xpm | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|^"|(char *)"|g'
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>