aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/wmapp
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-09-29 05:45:34 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-09-29 05:45:34 +0000
commit90abb24f53e9d8c2428c70b483b38627d2bae3ae (patch)
tree039e88512c84bb0c19d7d2204a18150ecd6574ab /x11-toolkits/wmapp
parent57ecc8add154f672ce9d853fb180da502d262718 (diff)
downloadports-90abb24f53e9d8c2428c70b483b38627d2bae3ae.tar.gz
ports-90abb24f53e9d8c2428c70b483b38627d2bae3ae.zip
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
Notes
Notes: svn path=/head/; revision=118494
Diffstat (limited to 'x11-toolkits/wmapp')
-rw-r--r--x11-toolkits/wmapp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-toolkits/wmapp/Makefile b/x11-toolkits/wmapp/Makefile
index defd362d10e7..dc11600120f8 100644
--- a/x11-toolkits/wmapp/Makefile
+++ b/x11-toolkits/wmapp/Makefile
@@ -23,6 +23,12 @@ CFLAGS+= -I${X11BASE}/include
ALL_TARGET= # empty
PLIST_FILES= lib/libwmapp.a
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 502126
+BROKEN= "Does not compile on FreeBSD >= 5.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|export |#export |g" ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|g" ${WRKSRC}/xwrapper.h
@@ -44,4 +50,4 @@ do-install:
@${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" >> ${TMPPLIST}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>