summaryrefslogtreecommitdiff
path: root/games/openttd
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2008-08-21 11:37:01 +0000
committerabs <abs@pkgsrc.org>2008-08-21 11:37:01 +0000
commit011f0d52486aefbe61cf1d2d6a462ecc7ea71a8d (patch)
tree40fcc051a5bcd9786c2bf2d8475649ed543d5708 /games/openttd
parente4679a77a93a976f883c2d9455500604a9a42638 (diff)
downloadpkgsrc-011f0d52486aefbe61cf1d2d6a462ecc7ea71a8d.tar.gz
update to openttd-0.6.2nb1 - "PKG_DESTDIR_SUPPORT=user-destdir" fails for this package
Diffstat (limited to 'games/openttd')
-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