summaryrefslogtreecommitdiff
path: root/devel/patch/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-01-07 10:55:51 +0000
committerwiz <wiz@pkgsrc.org>2003-01-07 10:55:51 +0000
commit4e8b7aa2d4c93fca3c86b3b9e6aeeafe1e6f7f4c (patch)
tree4a5af42e287339c469ee0cfbe64eb88eb1c0ef59 /devel/patch/Makefile
parent4a4a063efc899f46b9443dcb3ca93140c644f82a (diff)
downloadpkgsrc-4e8b7aa2d4c93fca3c86b3b9e6aeeafe1e6f7f4c.tar.gz
Really install the symlink.
Diffstat (limited to 'devel/patch/Makefile')
-rw-r--r--devel/patch/Makefile7
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!