summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorabs <abs>2008-08-21 11:37:01 +0000
committerabs <abs>2008-08-21 11:37:01 +0000
commitce526ac2cf2363b503734d7d7c920a758f841d57 (patch)
tree40fcc051a5bcd9786c2bf2d8475649ed543d5708 /games
parent50309a8782453ca7356338fe69c4d3a2fa2aa501 (diff)
downloadpkgsrc-ce526ac2cf2363b503734d7d7c920a758f841d57.tar.gz
update to openttd-0.6.2nb1 - "PKG_DESTDIR_SUPPORT=user-destdir" fails for this package
Diffstat (limited to 'games')
-rw-r--r--games/openttd/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index a5119ec9beb..62bfff0a9bf 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.28 2008/08/05 12:38:22 kefren Exp $
+# $NetBSD: Makefile,v 1.29 2008/08/21 11:37:01 abs Exp $
DISTNAME= openttd-0.6.2-source
+PKGREVISION= 1
PKGNAME= ${DISTNAME:S/-source//}
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/}
@@ -10,14 +11,16 @@ HOMEPAGE= http://www.openttd.com/
COMMENT= Open source clone of Transport Tycoon Deluxe
EXTRACT_SUFX= .tar.bz2
-PKG_DESTDIR_SUPPORT= user-destdir
-
HAS_CONFIGURE= yes
USE_LANGUAGES+= c c++
USE_DIRS+= xdg-1.1
USE_TOOLS+= gmake pkg-config
-CONFIGURE_ARGS+= --prefix-dir=${DESTDIR}${PREFIX}
+# Setting the below results in binaries looking in ${DESTDIR} for datafiles
+# CONFIGURE_ARGS+= --prefix-dir=${DESTDIR}${PREFIX}
+# PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --prefix-dir=${PREFIX}
CONFIGURE_ARGS+= --binary-dir=bin
CONFIGURE_ARGS+= --data-dir=share/openttd