From 5762fdd762284610d74b84b591887513b57f4613 Mon Sep 17 00:00:00 2001 From: Munechika SUMIKAWA Date: Wed, 9 Feb 2000 04:17:46 +0000 Subject: [PATCH] - Explicitly enabling/disabling IPv6 by ${OS_VERSION} - add WWW on DESCR Submitted by: "KATO Tsuguru" --- games/netris/Makefile | 11 ++++++++++- games/netris/pkg-descr | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) 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 + +.if ${OSVERSION} >= 400014 +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif + post-install: ${INSTALL_MAN} ${FILESDIR}/netris.1 ${PREFIX}/man/man1 -.include +.include diff --git a/games/netris/pkg-descr b/games/netris/pkg-descr index af0349e52def..cd7bae23ed04 100644 --- a/games/netris/pkg-descr +++ b/games/netris/pkg-descr @@ -1,5 +1,7 @@ This is netris, a networked version of t*tris. It allows head to head 2 player games via a network. +WWW: http://www.netris.org/ + -Ken Monville desmo@bandwidth.org