summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjlam <jlam>2008-01-15 15:43:48 +0000
committerjlam <jlam>2008-01-15 15:43:48 +0000
commitda2225f53e9f876a3277eb7b4e772ab8df68cd74 (patch)
treebc28279464b3cd6a19ce49aec405cadb358fee12 /emulators
parent3c6d0c9557e5001716d0690a4f0e90f7a7c99e03 (diff)
downloadpkgsrc-da2225f53e9f876a3277eb7b4e772ab8df68cd74.tar.gz
MASTER_SITE_LOCAL doesn't honor DIST_SUBDIR. Modify the MASTER_SITES
variable so that at least the compat* NetBSD packages will honor it. This allows the compat40 packages to find their distfiles, located under LOCAL_PORTS/20071230.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/compat40-extras/Makefile14
-rw-r--r--emulators/compat40/Makefile14
-rw-r--r--emulators/compat_netbsd/Makefile.common4
3 files changed, 16 insertions, 16 deletions
diff --git a/emulators/compat40-extras/Makefile b/emulators/compat40-extras/Makefile
index 16797fc14b0..dbd1077aa24 100644
--- a/emulators/compat40-extras/Makefile
+++ b/emulators/compat40-extras/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2007/12/31 20:06:40 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2008/01/15 15:43:49 jlam Exp $
COMPAT_PKG= compat40 # for compat_netbsd/Makefile.common
NETBSD_VERSION= 4.0
@@ -6,18 +6,18 @@ NETBSD_VERSION= 4.0
HOMEPAGE= http://www.NetBSD.org/releases/formal-4/index.html
COMMENT= Additional shared libraries for NetBSD 4.0 compatibility
-EMUL_PLATFORMS= netbsd-i386 netbsd-sparc
-
-.include "../../emulators/compat_netbsd/Makefile.common"
-
-DISTNAME= compat40-extras-${EMUL_ARCH}-4.0
-
# XXX Until NetBSD 5.0 is released, we fetch the distfiles into a date-specific
# XXX subdirectory where the date corresponds to the build of HEAD against
# XXX which these compat40 packages were generated.
#
DIST_SUBDIR= 20071230
+EMUL_PLATFORMS= netbsd-i386 netbsd-sparc
+
+.include "../../emulators/compat_netbsd/Makefile.common"
+
+DISTNAME= compat40-extras-${EMUL_ARCH}-4.0
+
# This package should only be installed for COMPAT_NETBSD32 emulation
# on machines running NetBSD-4.x.
#
diff --git a/emulators/compat40/Makefile b/emulators/compat40/Makefile
index dd1c6bae406..497ae9d802b 100644
--- a/emulators/compat40/Makefile
+++ b/emulators/compat40/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2007/12/31 20:06:39 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2008/01/15 15:43:48 jlam Exp $
COMPAT_PKG= compat40 # for compat_netbsd/Makefile.common
NETBSD_VERSION= 4.0
@@ -6,6 +6,12 @@ NETBSD_VERSION= 4.0
HOMEPAGE= http://www.NetBSD.org/releases/formal-4/index.html
COMMENT= Shared libraries for NetBSD 4.0 compatibility
+# XXX Until NetBSD 5.0 is released, we fetch the distfiles into a date-specific
+# XXX subdirectory where the date corresponds to the build of HEAD against
+# XXX which these compat40 packages were generated.
+#
+DIST_SUBDIR= 20071230
+
.if defined(NETBSD_COMPAT32)
EMUL_PLATFORMS= netbsd-i386 netbsd-sparc
@@ -29,12 +35,6 @@ ONLY_FOR_PLATFORM= NetBSD-4.99.*-* NetBSD-[5-9]*-* NetBSD-[1-9][0-9]*-*
DISTNAME= compat40-${EMUL_ARCH}-${COMPAT_VERSION}
COMPAT_VERSION= 4.0
-# XXX Until NetBSD 5.0 is released, we fetch the distfiles into a date-specific
-# XXX subdirectory where the date corresponds to the build of HEAD against
-# XXX which these compat40 packages were generated.
-#
-DIST_SUBDIR= 20071230
-
# For COMPAT_NETBSD32, we need to depend on the compat40-extras package
# on NetBSD-4.0 to supply the missing shared libraries; otherwise, we
# just depend on the compat50 package for the missing shared libraries.
diff --git a/emulators/compat_netbsd/Makefile.common b/emulators/compat_netbsd/Makefile.common
index 7570f1a7bad..d45a23cfcdc 100644
--- a/emulators/compat_netbsd/Makefile.common
+++ b/emulators/compat_netbsd/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2007/11/27 19:40:51 jlam Exp $
+# $NetBSD: Makefile.common,v 1.9 2008/01/15 15:43:49 jlam Exp $
#
# Common infrastructure for NetBSD compat* packages.
#
@@ -7,7 +7,7 @@
#
CATEGORIES= emulators
-MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITES= ${MASTER_SITE_LOCAL:=${DIST_SUBDIR}${DIST_SUBDIR:D/}}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org