diff options
Diffstat (limited to 'devel/patch')
-rw-r--r-- | devel/patch/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/patch/Makefile b/devel/patch/Makefile index c501e1179e9..3ef45eb3c8a 100644 --- a/devel/patch/Makefile +++ b/devel/patch/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2003/01/07 10:33:26 grant Exp $ +# $NetBSD: Makefile,v 1.14 2003/01/07 10:55:51 wiz Exp $ # DISTNAME= patch-2.5.4 @@ -35,6 +35,11 @@ do-patch: < ${WRKSRC}/pch.c.orig \ > ${WRKSRC}/pch.c +.if !defined(GNU_PROGRAM_PREFIX) || ${GNU_PROGRAM_PREFIX} != "g" +post-install: + ${LN} -s ${GNU_PROGRAM_PREFIX}patch ${PREFIX}/bin/gpatch +.endif + .include "../../mk/bsd.pkg.mk" # Needed for bootstrapping pkgsrc! |