summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authoragc <agc>2002-02-07 09:59:48 +0000
committeragc <agc>2002-02-07 09:59:48 +0000
commita72a6e881e9fde3e6a225aaed113a02d1b4dd36a (patch)
treea10f5df306044ca0d06877e9ea02395adf9436bf /graphics
parent054df5874fec9b805b967936363a4c981a766ee3 (diff)
downloadpkgsrc-a72a6e881e9fde3e6a225aaed113a02d1b4dd36a.tar.gz
The inclusion of bsd.pkg.mk before the setting of the EXTRA_FILES
definition in the package Makefile caused problems when fetching files, since bsd.pkg.mk uses a .for loop to iterate over DISTFILES, thus evaluating ${DISTFILES} at the time the .for line is read - this caused the EXTRA_FILES definitions not to be fetched. I think the reason for the inclusion of bsd.pkg.mk in a non-standard place was to get the values of MACHINE_ARCH and OBJECT_FMT. This all dates from 1998, and my memory's not what it used to be. Fix this by getting these values from bsd.prefs.mk, and including bsd.pkg.mk in the usual place.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/xanim/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/xanim/Makefile b/graphics/xanim/Makefile
index f468ed757b5..9794384cc37 100644
--- a/graphics/xanim/Makefile
+++ b/graphics/xanim/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2001/11/29 01:12:36 hubertf Exp $
+# $NetBSD: Makefile,v 1.25 2002/02/07 09:59:48 agc Exp $
DISTNAME= xanim2801
PKGNAME= xanim-2.80.1
@@ -45,7 +45,7 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xanim ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xanim.0 ${PREFIX}/man/cat1
-.include "../../mk/bsd.pkg.mk"
+.include "../../mk/bsd.prefs.mk"
MACHINE_OBJ_ARCH= ${MACHINE_ARCH}-${OBJECT_FMT}
@@ -69,3 +69,5 @@ EXTRA_FILES= xa2.0_cvid_sparcCOFF.o.Z \
EXTRA_FILES= xa2.0_cvid_linuxPPC.o.Z \
xa1.0_cyuv_linuxPPC.o.Z
.endif
+
+.include "../../mk/bsd.pkg.mk"