summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz>2003-01-07 10:55:51 +0000
committerwiz <wiz>2003-01-07 10:55:51 +0000
commitffd656fbb1853e8c5e8aa9afa7460df6f014d089 (patch)
tree4a5af42e287339c469ee0cfbe64eb88eb1c0ef59 /devel
parent6d240fa3857b764b7cb8aefb7e781750c2efb842 (diff)
downloadpkgsrc-ffd656fbb1853e8c5e8aa9afa7460df6f014d089.tar.gz
Really install the symlink.
Diffstat (limited to 'devel')
-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!