diff options
author | grant <grant@pkgsrc.org> | 2003-01-07 10:33:26 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2003-01-07 10:33:26 +0000 |
commit | 9b294adc8a5a253c27d98d361a77aeea8daed288 (patch) | |
tree | 7bdbe6a454b5a34e6f2773db8695d26b068f78db /devel/patch/Makefile | |
parent | 8dd5a2afc232f87988fbfe46f1251376e219ca63 (diff) | |
download | pkgsrc-9b294adc8a5a253c27d98d361a77aeea8daed288.tar.gz |
always install bin/gpatch (thanks wiz).
bump PKGREVISION.
Diffstat (limited to 'devel/patch/Makefile')
-rw-r--r-- | devel/patch/Makefile | 10 |
1 files changed, 8 insertions, 2 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;}\ |