aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/wmapp
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-09-29 13:45:34 +0800
committerkris <kris@FreeBSD.org>2004-09-29 13:45:34 +0800
commitad448036acd7c07ca687beafec1a2b22dae5b188 (patch)
tree68ad40ba9a94c05ab513cbdfcbb5e0c8e7469aa9 /x11-toolkits/wmapp
parent6b290091589bf384975b769bfc4d1983ad8a18e4 (diff)
downloadfreebsd-ports-gnome-ad448036acd7c07ca687beafec1a2b22dae5b188.tar.gz
freebsd-ports-gnome-ad448036acd7c07ca687beafec1a2b22dae5b188.tar.zst
freebsd-ports-gnome-ad448036acd7c07ca687beafec1a2b22dae5b188.zip
BROKEN on 5.x: Does not compile
Approved by: portmgr (self)
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>