diff options
author | gdt <gdt@pkgsrc.org> | 2006-12-18 12:36:17 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2006-12-18 12:36:17 +0000 |
commit | 90a87f430de7114bd21da778be242b67f9a44cf7 (patch) | |
tree | 44b19c432b17bc900e321530dd840db5d74411ae /pkgtools | |
parent | 0aa16ca4153e9e498876ba91c1897d5d52f8e241 (diff) | |
download | pkgsrc-90a87f430de7114bd21da778be242b67f9a44cf7.tar.gz |
SUBST the path to ${MAKE}.
PKGREVISION++.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_rolling-replace/Makefile | 10 | ||||
-rwxr-xr-x | pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/pkgtools/pkg_rolling-replace/Makefile b/pkgtools/pkg_rolling-replace/Makefile index 0db7a2877e0..7fceac3004b 100644 --- a/pkgtools/pkg_rolling-replace/Makefile +++ b/pkgtools/pkg_rolling-replace/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2006/12/06 00:54:25 xtraeme Exp $ +# $NetBSD: Makefile,v 1.3 2006/12/18 12:36:17 gdt Exp $ DISTNAME= pkg_rolling-replace-0.04 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -23,6 +23,12 @@ USE_LANGUAGES= # none INSTALLATION_DIRS= sbin man/man8 +SUBST_CLASSES+= makepath +SUBST_STAGE.makepath= pre-configure +SUBST_MESSAGE.makepath= Fixing path to ${MAKE}. +SUBST_FILES.makepath= pkg_rolling-replace.sh +SUBST_SED.makepath= -e 's,@MAKE@,${MAKE},g' + .include "../../mk/bsd.prefs.mk" # target exists only to force check-pkgsrc-patch prior to install diff --git a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh index 3023ff14a9d..a963c575447 100755 --- a/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh +++ b/pkgtools/pkg_rolling-replace/files/pkg_rolling-replace.sh @@ -1,6 +1,6 @@ #!/bin/sh -# $NetBSD: pkg_rolling-replace.sh,v 1.1.1.1 2006/12/05 18:23:52 gdt Exp $ +# $NetBSD: pkg_rolling-replace.sh,v 1.2 2006/12/18 12:36:17 gdt Exp $ #<license> # Copyright (c) 2006 BBN Technologies Corp. All rights reserved. # @@ -67,14 +67,8 @@ test -n "$PKGSRCDIR" || PKGSRCDIR=/usr/pkgsrc unset PKG_PATH || true #or pkgsrc makefiles will complain -MAKE=make -# XXX Find BSD make at package build time. -UNAME=`uname` -case "$UNAME" in - Darwin) - MAKE=bmake - ;; -esac +# Substituted by pkgsrc at pre-configure time. +MAKE=@MAKE@ usage() { |