aboutsummaryrefslogtreecommitdiff
path: root/games/netris/Makefile
diff options
context:
space:
mode:
authorMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-02-09 04:17:46 +0000
committerMunechika SUMIKAWA <sumikawa@FreeBSD.org>2000-02-09 04:17:46 +0000
commit5762fdd762284610d74b84b591887513b57f4613 (patch)
tree55ec3f754255fff1c41986b690b869165460fbbc /games/netris/Makefile
parent442343e099c0f8d83ee7aaf1c799648ca60842b8 (diff)
downloadports-5762fdd762284610d74b84b591887513b57f4613.tar.gz
ports-5762fdd762284610d74b84b591887513b57f4613.zip
Notes
Diffstat (limited to 'games/netris/Makefile')
-rw-r--r--games/netris/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/games/netris/Makefile b/games/netris/Makefile
index 55cd899e87b4..e6c5ac6d6662 100644
--- a/games/netris/Makefile
+++ b/games/netris/Makefile
@@ -19,9 +19,18 @@ MAINTAINER= desmo@bandwidth.org
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Configure
+CONFIGURE_ARGS= --cc '${CC}' --copt '${CFLAGS}'
MAN1= netris.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 400014
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
post-install:
${INSTALL_MAN} ${FILESDIR}/netris.1 ${PREFIX}/man/man1
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>