diff options
author | grant <grant> | 2004-02-14 03:26:09 +0000 |
---|---|---|
committer | grant <grant> | 2004-02-14 03:26:09 +0000 |
commit | 63f0fe1817851233e09df823842933a602d14a13 (patch) | |
tree | 0a0d8285b7065135afa920b361aa93034a68e680 /mk | |
parent | bf5e517fd8c0a5eef41994822a3aada469eee2f6 (diff) | |
download | pkgsrc-63f0fe1817851233e09df823842933a602d14a13.tar.gz |
deprecate Zoularis: remove any tests for ZOULARIS* and bomb if
${LOCALBASE}/bsd/share/mk/zoularis.mk exists.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 24 | ||||
-rw-r--r-- | mk/bsd.prefs.mk | 16 | ||||
-rw-r--r-- | mk/defs.SunOS.mk | 20 |
3 files changed, 15 insertions, 45 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 33ec9868179..13b64befe48 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1398 2004/02/14 02:28:19 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1399 2004/02/14 03:26:09 grant Exp $ # # This file is in the public domain. # @@ -481,8 +481,8 @@ MAKE_ENV+= CPP="${CPP}" MAKE_ENV+= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" MAKE_ENV+= PTHREAD_LDFLAGS="${PTHREAD_LDFLAGS}" -.if exists(${ZOULARISBASE}/bin/ftp) # Zoularis -FETCH_CMD?= ${ZOULARISBASE}/bin/ftp +.if exists(${LOCALBASE}/bin/ftp) +FETCH_CMD?= ${LOCALBASE}/bin/ftp .else FETCH_CMD?= /usr/bin/ftp .endif @@ -783,12 +783,8 @@ PKGTOOLS_REQD= 20030918 .endif # Check that we are using up-to-date pkg_* tools with this file. -.PHONY: uptodate-pkgtools uptodate-zoularis -.if defined(ZOULARIS_VERSION) -uptodate-pkgtools: uptodate-zoularis -.else +.PHONY: uptodate-pkgtools uptodate-pkgtools: -.endif . if !defined(NO_PKGTOOLS_REQD_CHECK) . if ${PKGTOOLS_VERSION} < ${PKGTOOLS_REQD} PKG_FAIL_REASON+='Error: The package tools installed on this system are out of date.' @@ -799,18 +795,6 @@ PKG_FAIL_REASON+=' cd ${_PKGSRCDIR}/pkgtools/pkg_install && ${MAKE} clean && ${M . endif . endif -# Latest version of Zoularis required for this file. -ZOULARIS_REQD= 20010323 - -# Check that we are using up-to-date Zoularis. -.if defined(ZOULARIS_VERSION) -uptodate-zoularis: -. if ${ZOULARIS_VERSION} < ${ZOULARIS_REQD} -PKG_FAIL_REASON+='Your Zoularis needs to be updated to the ${ZOULARIS_REQD:C|(....)(..)(..)|\1/\2/\3|} version.' -PKG_FAIL_REASON+='The installed Zoularis was last updated on ${ZOULARIS_VERSION:C|(....)(..)(..)|\1/\2/\3|}.' -. endif -.endif - # Files to create for versioning and build information BUILD_VERSION_FILE= ${WRKDIR}/.build_version BUILD_INFO_FILE= ${WRKDIR}/.build_info diff --git a/mk/bsd.prefs.mk b/mk/bsd.prefs.mk index 0bf6c3ee5c7..332e5da6294 100644 --- a/mk/bsd.prefs.mk +++ b/mk/bsd.prefs.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.prefs.mk,v 1.151 2004/02/13 18:00:29 jlam Exp $ +# $NetBSD: bsd.prefs.mk,v 1.152 2004/02/14 03:26:09 grant Exp $ # # Make file, included to get the site preferences, if any. Should # only be included by package Makefiles before any .if defined() @@ -159,8 +159,7 @@ LOWER_ARCH?= ${MACHINE_GNU_ARCH} MACHINE_PLATFORM?= ${OPSYS}-${OS_VERSION}-${MACHINE_ARCH} MACHINE_GNU_PLATFORM?= ${LOWER_ARCH}-${LOWER_VENDOR}-${LOWER_OPSYS}${APPEND_ELF}${LOWER_OPSYS_VERSUFFIX} -# Needed on NetBSD and SunOS (zoularis) to prevent an "install:" target -# from being created in bsd.own.mk. +# Needed to prevent an "install:" target from being created in bsd.own.mk. NEED_OWN_INSTALL_TARGET=no # This prevents default use of the cross-tool harness in the "src" tree, @@ -437,13 +436,10 @@ USE_BUILDLINK3?= no # default to not using buildlink3 USE_BUILDLINK3= yes # pkgviews requires buildlink3 .endif -.if (${OPSYS} == SunOS) && !defined(ZOULARIS_VERSION) -. if !exists(${ZOULARISBASE}/share/mk/zoularis.mk) -ZOULARIS_VERSION= 20000522 -. else -. include "${ZOULARISBASE}/share/mk/zoularis.mk" -. endif -MAKEFLAGS+= ZOULARIS_VERSION=${ZOULARIS_VERSION} +.if exists(${LOCALBASE}/bsd/share/mk/zoularis.mk) +PKG_FAIL_REASON+= 'You appear to have a deprecated Zoularis installation.' +PKG_FAIL_REASON+= 'Please update your system to bootstrap-pkgsrc and remove the' +PKG_FAIL_REASON+= '${LOCALBASE}/bsd directory.' .endif _PKGSRCDIR?= ${.CURDIR:C|/[^/]*/[^/]*$||} diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index 258e8308069..3dee5504599 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.79 2004/02/14 00:11:30 grant Exp $ +# $NetBSD: defs.SunOS.mk,v 1.80 2004/02/14 03:26:09 grant Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -26,7 +26,7 @@ GREP?= /usr/xpg4/bin/grep .if exists(${LOCALBASE}/bin/gtar) GTAR?= ${LOCALBASE}/bin/gtar .else -GTAR?= ${ZOULARISBASE}/bin/tar +GTAR?= ${LOCALBASE}/bin/tar .endif .if exists(${LOCALBASE}/bin/gzip) GUNZIP_CMD?= ${LOCALBASE}/bin/gunzip -f @@ -49,10 +49,7 @@ LS?= /usr/bin/ls M4?= /usr/ccs/bin/m4 MAIL_CMD?= /usr/bin/mailx MKDIR?= /usr/bin/mkdir -p -.if exists(${LOCALBASE}/sbin/mtree) MTREE?= ${LOCALBASE}/sbin/mtree -.endif -MTREE?= ${ZOULARISBASE}/bin/mtree MV?= /usr/bin/mv NICE?= /usr/xpg4/bin/nice .if exists(/usr/bin/gpatch) @@ -181,16 +178,9 @@ _STRIPFLAG_INSTALL?= -s # install(1) option to strip .endif LOCALBASE?= ${DESTDIR}/usr/pkg -.if !defined(ZOULARISBASE) -. if exists(${LOCALBASE}/bsd) -ZOULARISBASE:= ${LOCALBASE}/bsd -. else -ZOULARISBASE:= ${LOCALBASE} -. endif -.endif + .if exists(${LOCALBASE}/sbin/pkg_info) PKG_TOOLS_BIN?= ${LOCALBASE}/sbin -.elif exists(${ZOULARISBASE}/sbin/pkg_info) -PKG_TOOLS_BIN?= ${ZOULARISBASE}/sbin +.else +PKG_TOOLS_BIN?= ${LOCALBASE}/bin .endif -PKG_TOOLS_BIN?= ${ZOULARISBASE}/bin |