pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/openttd update to openttd-0.6.2nb1 - "PKG_DESTDI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/779d4bdeccf1
branches:  trunk
changeset: 546097:779d4bdeccf1
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 21 11:37:01 2008 +0000

description:
update to openttd-0.6.2nb1 - "PKG_DESTDIR_SUPPORT=user-destdir" fails for this package

diffstat:

 games/openttd/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 6f646e888f7d -r 779d4bdeccf1 games/openttd/Makefile
--- a/games/openttd/Makefile    Thu Aug 21 10:30:10 2008 +0000
+++ b/games/openttd/Makefile    Thu Aug 21 11:37:01 2008 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index