summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1998-12-16 04:02:56 +0000
committerpeter <peter@FreeBSD.org>1998-12-16 04:02:56 +0000
commit0be4cef38efb9e28cea426387a805c84f1d81043 (patch)
tree0261555c2123cdc326c6bc4fc7b14cda3d846523
parentfe0264475ac7af2a3b3f777b7772bfcbb5f356c7 (diff)
downloadFreeBSD-src-0be4cef38efb9e28cea426387a805c84f1d81043.zip
FreeBSD-src-0be4cef38efb9e28cea426387a805c84f1d81043.tar.gz
The perlinterp option builds and works, but I'm not so sure how it'll go
in a release or buildworld environment, so I'll leave it disabled.
-rw-r--r--usr.bin/vi/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.bin/vi/Makefile b/usr.bin/vi/Makefile
index 13cbb22..94b352a 100644
--- a/usr.bin/vi/Makefile
+++ b/usr.bin/vi/Makefile
@@ -1,5 +1,5 @@
#
-# $Id: Makefile,v 1.22 1998/06/09 04:07:20 imp Exp $
+# $Id: Makefile,v 1.23 1998/09/05 12:25:54 asami Exp $
#
# This has most of the glue needed to compile tknvi and the perl hooks,
# but not all.
@@ -16,13 +16,14 @@ APISTUFF= ex_notcl.c ex_noperl.c
#TCLINTERP= yes #we don't have it in the base tree
#TKNVI= yes #not ready, needs X11, tk, doesn't quite work yet
-#PERLINTERP= yes #needs the perl5 v5.003 port
+#PERLINTERP= yes #works
APISTUFF= ex_tcl.c ex_perl.c
-# Any better ideas?
-#PERL= /usr/local/bin/perl5.003
-#CFLAGS+= -DHAVE_PERL_5_003_01 # If perl >= 5.03.01
+.if defined(PERLINTERP)
+PERL?= /usr/bin/perl5
+CFLAGS+= -DHAVE_PERL_5_003_01 # If perl >= 5.03.01
+.endif
.endif
OpenPOWER on IntegriCloud