summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-07-07 23:44:43 +0000
committerbde <bde@FreeBSD.org>1998-07-07 23:44:43 +0000
commitd43626f9548983fe985c1db8cc1da12ac8577b2f (patch)
tree5f7057720dc74f7cfae22063a9366c679848d545 /gnu
parent459820f8c5b53defaa7b42447c62ea585cb953d5 (diff)
downloadFreeBSD-src-d43626f9548983fe985c1db8cc1da12ac8577b2f.zip
FreeBSD-src-d43626f9548983fe985c1db8cc1da12ac8577b2f.tar.gz
Use the installed version of perl for `make install'. It is now
bootstrapped by `make world'. The version just built in ".." normally won't work if the target system is not binary compatible.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/perl/x2p/Makefile14
1 files changed, 3 insertions, 11 deletions
diff --git a/gnu/usr.bin/perl/x2p/Makefile b/gnu/usr.bin/perl/x2p/Makefile
index 9ec653d..f2b2626 100644
--- a/gnu/usr.bin/perl/x2p/Makefile
+++ b/gnu/usr.bin/perl/x2p/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.13 1998/05/05 05:25:21 bde Exp $
+# $Id: Makefile,v 1.14 1998/05/12 23:02:14 jb Exp $
PROG= a2p
@@ -9,15 +9,6 @@ YFLAGS=
LDADD= -lm
DPADD= ${LIBM}
-# If perl exists in none of these places, something is horribly wrong.
-.if exists(${.OBJDIR}/../perl/perl)
-PERL=${.OBJDIR}/../perl/perl
-.elif !defined(PERL) && exists(${.CURDIR}/../perl/perl)
-PERL=${.CURDIR}/../perl/perl
-.else
-PERL= ${DESTDIR}/usr/bin/perl
-.endif
-
MAN1+= a2p.1 s2p.1 h2ph.1
beforeinstall:
@@ -27,7 +18,8 @@ beforeinstall:
${DESTDIR}${BINDIR}
afterinstall:
- (DESTDIR=${DESTDIR}; cd ${DESTDIR}/usr/include; ${PERL} ${DESTDIR}${BINDIR}/h2ph * machine/* sys/*)
+ (DESTDIR=${DESTDIR}; cd ${DESTDIR}/usr/include; \
+ perl ${DESTDIR}${BINDIR}/h2ph * machine/* sys/*)
.include "../../Makefile.inc"
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud