summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authorjperkin <jperkin>2016-02-25 13:19:47 +0000
committerjperkin <jperkin>2016-02-25 13:19:47 +0000
commitabcec90f962633389227323bac50622d4197860f (patch)
tree3a61a150d2302639ddaaef65a4e05e646d66e2da /games/openttd
parentda0e237d789c99324dc28963611232f79ac0bd32 (diff)
downloadpkgsrc-abcec90f962633389227323bac50622d4197860f.tar.gz
Use OPSYSVARS.
Diffstat (limited to 'games/openttd')
-rw-r--r--games/openttd/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index e5ea503367a..a90981a6970 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.61 2015/12/31 18:48:55 leot Exp $
+# $NetBSD: Makefile,v 1.62 2016/02/25 13:19:47 jperkin Exp $
DISTNAME= openttd-1.5.3-source
PKGNAME= ${DISTNAME:S/-source//}
@@ -35,11 +35,9 @@ CONFIGURE_ARGS+= --with-lzo2=${BUILDLINK_PREFIX.lzo}/lib
.include "../../mk/bsd.prefs.mk"
-.if (${OPSYS} == "DragonFly")
-CONFIGURE_ARGS+= --os=FREEBSD
-.endif
+CONFIGURE_ARGS.DragonFly+= --os=FREEBSD
-.if (${OPSYS} == "Darwin")
+.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --disable-cocoa-quickdraw
CONFIGURE_ARGS+= --with-cocoa
CONFIGURE_ARGS+= --without-application-bundle