diff options
author | grant <grant> | 2003-01-07 10:33:26 +0000 |
---|---|---|
committer | grant <grant> | 2003-01-07 10:33:26 +0000 |
commit | 13b958f7411fd0a3f473e778d8079354cf0d857a (patch) | |
tree | 7bdbe6a454b5a34e6f2773db8695d26b068f78db /devel | |
parent | bd2503967303a75ea021f651b04405a56cd4158b (diff) | |
download | pkgsrc-13b958f7411fd0a3f473e778d8079354cf0d857a.tar.gz |
always install bin/gpatch (thanks wiz).
bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/patch/Makefile | 10 | ||||
-rw-r--r-- | devel/patch/PLIST | 3 |
2 files changed, 10 insertions, 3 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile index 2c2b2404ab9..c501e1179e9 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2003/01/06 22:23:06 grant Exp $ +# $NetBSD: Makefile,v 1.13 2003/01/07 10:33:26 grant Exp $ # DISTNAME= patch-2.5.4 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=patch/} @@ -20,6 +20,12 @@ CONFIGURE_ARGS+= --program-prefix=${GNU_PROGRAM_PREFIX} PLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX} BUILD_DEFS+= GNU_PROGRAM_PREFIX +.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g" +PLIST_SUBST+= PATCH_LINK="" +.else +PLIST_SUBST+= PATCH_LINK="@comment " +.endif + do-patch: ${MV} ${WRKSRC}/pch.c ${WRKSRC}/pch.c.orig ${AWK} '/#include <pch.h>/{print $$0 "\n#include <sys/param.h>";next;}\ diff --git a/devel/patch/PLIST b/devel/patch/PLIST index a0d7760af6c..1dc8edc317d 100644 --- a/devel/patch/PLIST +++ b/devel/patch/PLIST @@ -1,3 +1,4 @@ -@comment $NetBSD: PLIST,v 1.3 2002/12/22 17:30:09 wiz Exp $ +@comment $NetBSD: PLIST,v 1.4 2003/01/07 10:33:27 grant Exp $ bin/${GNU_PROGRAM_PREFIX}patch +${PATCH_LINK}bin/gpatch man/man1/${GNU_PROGRAM_PREFIX}patch.1 |