Thu Aug 21 11:37:01 2008 UTC ()
update to openttd-0.6.2nb1 - "PKG_DESTDIR_SUPPORT=user-destdir" fails for this package


(abs)
diff -r1.28 -r1.29 pkgsrc/games/openttd/Makefile

cvs diff -r1.28 -r1.29 pkgsrc/games/openttd/Makefile (expand / switch to unified diff)

--- pkgsrc/games/openttd/Makefile 2008/08/05 12:38:22 1.28
+++ pkgsrc/games/openttd/Makefile 2008/08/21 11:37:01 1.29
@@ -1,33 +1,36 @@ @@ -1,33 +1,36 @@
1# $NetBSD: Makefile,v 1.28 2008/08/05 12:38:22 kefren Exp $ 1# $NetBSD: Makefile,v 1.29 2008/08/21 11:37:01 abs Exp $
2 2
3DISTNAME= openttd-0.6.2-source 3DISTNAME= openttd-0.6.2-source
 4PKGREVISION= 1
4PKGNAME= ${DISTNAME:S/-source//} 5PKGNAME= ${DISTNAME:S/-source//}
5CATEGORIES= games x11 6CATEGORIES= games x11
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openttd/}
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.openttd.com/ 10HOMEPAGE= http://www.openttd.com/
10COMMENT= Open source clone of Transport Tycoon Deluxe 11COMMENT= Open source clone of Transport Tycoon Deluxe
11EXTRACT_SUFX= .tar.bz2 12EXTRACT_SUFX= .tar.bz2
12 13
13PKG_DESTDIR_SUPPORT= user-destdir 
14 
15HAS_CONFIGURE= yes 14HAS_CONFIGURE= yes
16USE_LANGUAGES+= c c++ 15USE_LANGUAGES+= c c++
17USE_DIRS+= xdg-1.1 16USE_DIRS+= xdg-1.1
18USE_TOOLS+= gmake pkg-config 17USE_TOOLS+= gmake pkg-config
19 18
20CONFIGURE_ARGS+= --prefix-dir=${DESTDIR}${PREFIX} 19# Setting the below results in binaries looking in ${DESTDIR} for datafiles
 20# CONFIGURE_ARGS+= --prefix-dir=${DESTDIR}${PREFIX}
 21# PKG_DESTDIR_SUPPORT= user-destdir
 22
 23CONFIGURE_ARGS+= --prefix-dir=${PREFIX}
21CONFIGURE_ARGS+= --binary-dir=bin 24CONFIGURE_ARGS+= --binary-dir=bin
22CONFIGURE_ARGS+= --data-dir=share/openttd 25CONFIGURE_ARGS+= --data-dir=share/openttd
23 26
24# disable custom assert for Mac OS X (XXX: still needed?) 27# disable custom assert for Mac OS X (XXX: still needed?)
25CFLAGS+= -DNDEBUG=1 28CFLAGS+= -DNDEBUG=1
26 29
27WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} 30WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
28BUILD_TARGET= bundle 31BUILD_TARGET= bundle
29 32
30post-install: 33post-install:
31 rm -rf ${FAKEHOMEDIR}/.openttd 34 rm -rf ${FAKEHOMEDIR}/.openttd
32 35
33.include "options.mk" 36.include "options.mk"