summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-09-11 11:50:48 +0000
committeradrianp <adrianp@pkgsrc.org>2005-09-11 11:50:48 +0000
commit00c269e0d640bd43fe122107253de7df659798d5 (patch)
tree50298441e3723b5b8f1d9857fea55459aa5c6375 /games
parent511de621c559e3dec5499958cc6935f68059c7b8 (diff)
downloadpkgsrc-00c269e0d640bd43fe122107253de7df659798d5.tar.gz
Fix ${WRKSRC} to use ${PKGNAME_NOREV} which is much nicer
Diffstat (limited to 'games')
-rw-r--r--games/openttd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/openttd/Makefile b/games/openttd/Makefile
index bfdca265e9f..acfcd6e5349 100644
--- a/games/openttd/Makefile
+++ b/games/openttd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2005/09/11 11:44:29 adrianp Exp $
+# $NetBSD: Makefile,v 1.8 2005/09/11 11:50:48 adrianp Exp $
DISTNAME= openttd-0.4.0.1-source
PKGNAME= openttd-0.4.0.1
@@ -23,7 +23,7 @@ MAKE_ENV+= PERSONAL_DIR=.openttd
MAKE_ENV+= WITH_NETWORK=1
MAKE_ENV+= X11BASE=${X11BASE}
-WRKSRC= ${WRKDIR}/${DISTNAME:S/-source//}
+WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
INSTALLATION_DIRS= bin