aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-11-09 05:19:09 +0800
committeredwin <edwin@FreeBSD.org>2006-11-09 05:19:09 +0800
commit0f2391dbba60a07730d506273700c99564f3e961 (patch)
tree3ef42f78a0ba55682e82c11761300f6ca5c51639 /games
parent0adb9a3ec78e6e40e0d16ef194129118e0e8a1ce (diff)
downloadfreebsd-ports-gnome-0f2391dbba60a07730d506273700c99564f3e961.tar.gz
freebsd-ports-gnome-0f2391dbba60a07730d506273700c99564f3e961.tar.zst
freebsd-ports-gnome-0f2391dbba60a07730d506273700c99564f3e961.zip
Ignore on FreeBSD versions < 600020 because the program requires MSG_NOSIGNAL
Diffstat (limited to 'games')
-rw-r--r--games/frozenbubble/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/games/frozenbubble/Makefile b/games/frozenbubble/Makefile
index a1673f291c46..1b93491fdcf9 100644
--- a/games/frozenbubble/Makefile
+++ b/games/frozenbubble/Makefile
@@ -7,7 +7,7 @@
PORTNAME= frozenbubble
PORTVERSION= 2.0.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://www.frozen-bubble.org/data/
DISTNAME= frozen-bubble-${PORTVERSION}
@@ -40,6 +40,12 @@ COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 >/dev/null \
${FIND} $$1/ -type d -exec ${CHMOD} 755 {} \; && \
${FIND} $$1/ -type f -exec ${CHMOD} ${SHAREMODE} {} \;' --
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 600020
+IGNORE= doesn't work unless MSG_NOSIGNAL is defined (FreeBSD version 600020 and higher)
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|\${SDL_CONFIG}|g' \
${WRKSRC}/c_stuff/Makefile.PL
@@ -68,4 +74,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>