diff options
author | gdt <gdt@pkgsrc.org> | 2008-06-22 12:49:53 +0000 |
---|---|---|
committer | gdt <gdt@pkgsrc.org> | 2008-06-22 12:49:53 +0000 |
commit | 665a3a92c4cc43a0578d2c67d82f1322b276f270 (patch) | |
tree | f112935530be95dc8906889e9ab54e040588d8be /pkgtools | |
parent | d9501f1ac0be7086c4db98e4a5052daa5095875e (diff) | |
download | pkgsrc-665a3a92c4cc43a0578d2c67d82f1322b276f270.tar.gz |
Drop check for 'make replace => unsafe_depends" support being present
in pkgsrc. It's been 1.75 years, and the benefit of the check is now
outweighed by the cruftiness.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_rolling-replace/Makefile | 26 |
1 files changed, 4 insertions, 22 deletions
diff --git a/pkgtools/pkg_rolling-replace/Makefile b/pkgtools/pkg_rolling-replace/Makefile index 4ed16cdfaf0..b4977731855 100644 --- a/pkgtools/pkg_rolling-replace/Makefile +++ b/pkgtools/pkg_rolling-replace/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.20 2008/06/08 17:29:01 gdt Exp $ +# $NetBSD: Makefile,v 1.21 2008/06/22 12:49:53 gdt Exp $ DISTNAME= pkg_rolling-replace-0.16 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty @@ -47,32 +47,14 @@ REPLACE_SH+= pkg_rolling-replace.sh .include "../../mk/bsd.prefs.mk" -# target exists only to force check-pkgsrc-patch prior to install -do-extract: check-pkgsrc-patch +do-extract: cp ${FILESDIR}/pkg_rolling-replace.sh ${WRKSRC} cp ${FILESDIR}/pkg_rolling-replace.8 ${WRKSRC} -do-install: check-pkgsrc-patch +do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pkg_rolling-replace.sh \ ${PREFIX}/sbin/pkg_rolling-replace ${INSTALL_MAN} ${WRKSRC}/pkg_rolling-replace.8 \ ${PREFIX}/${PKGMANDIR}/man8/pkg_rolling-replace.8 -check-pkgsrc-patch: - @${ECHO_N} "=> Checking for unsafe_depends support in pkgsrc..."; \ - REPLACE_MK="${PKGSRCDIR}/mk/flavor/pkg/replace.mk"; \ - if [ -f "$$REPLACE_MK" ]; then \ - if [ "`${EGREP} unsafe_depends=YES $$REPLACE_MK`" ]; then \ - ${ECHO} "found."; \ - ${TRUE}; \ - else \ - ${ECHO}; \ - ${ECHO} "*** pkg_rolling replace requires pkgsrc>=2006Q3" \ - ${FALSE}; \ - fi; \ - else \ - ${ECHO} "*** pkg_rolling replace requires pkgsrc>=2006Q3"; \ - ${FALSE}; \ - fi - .include "../../mk/bsd.pkg.mk" |