Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 1997 23:06:45 -0700
From:      "David O'Brien" <obrien@NUXI.com>
To:        ports@freebsd.org
Subject:   building vim5beta with Perl5 support
Message-ID:  <19971019230645.45189@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help
Here is a patch to fix the problem with building vim5beta with Perl5
support on -STABLE and -CURRENT:


Index: patch-01
===================================================================
RCS file: /home/ncvs/ports/editors/vim5beta/patches/patch-01,v
retrieving revision 1.5
diff -u -r1.5 patch-01
--- patch-01	1997/10/15 09:28:58	1.5
+++ patch-01	1997/10/20 06:02:25
@@ -1,5 +1,5 @@
 --- Makefile.orig	Sun Sep 28 13:45:32 1997
-+++ Makefile	Wed Oct 15 02:24:25 1997
++++ Makefile	Sun Oct 19 22:52:29 1997
 @@ -597,7 +597,7 @@
  MOTIF_DEFS	= -DUSE_GUI_MOTIF $(NARROW_PROTO)
  MOTIF_IPATH	= -I$(GUI_INC_LOC)
@@ -9,12 +9,3 @@
  MOTIF_TARGETS	= $(BINDIR)/$(GVIMTARGET) \
  				$(BINDIR)/$(GEXTARGET) \
  				$(BINDIR)/$(GVIEWTARGET) \
-@@ -837,7 +837,7 @@
- 	GUI_INC_LOC="$(GUI_INC_LOC)" GUI_LIB_LOC="$(GUI_LIB_LOC)" \
- 		CC="$(CC)" CFLAGS="$(CFLAGS)" TERM_LIB="$(TERM_LIB)" \
- 	$(CONF_SHELL) ./configure $(CONF_OPT_GUI) $(CONF_OPT_X) \
--	$(CONF_OPT_PERL) $(CONF_OPT_PYTHON) $(CONF_ARGS)
-+	$(CONF_OPT_PYTHON) $(CONF_ARGS)
- 
- # When configure.in has changed, run autoconf to produce configure
- # If you don't have autoconf, use the configure that's there
Index: patch-02
===================================================================
RCS file: /home/ncvs/ports/editors/vim5beta/patches/patch-02,v
retrieving revision 1.3
diff -u -r1.3 patch-02
--- patch-02	1997/08/23 13:43:43	1.3
+++ patch-02	1997/10/20 06:02:25
@@ -1,7 +1,16 @@
---- configure.orig	Sat Aug 23 15:28:24 1997
-+++ configure	Sat Aug 23 15:29:56 1997
-@@ -1995,7 +1995,7 @@
- echo "configure:1996: checking for location of Motif GUI libs" >&5
+--- configure.orig	Thu Sep 25 15:30:18 1997
++++ configure	Sun Oct 19 22:53:37 1997
+@@ -951,7 +951,7 @@
+ 	PERL_CFLAGS="$perlcppflags"
+       fi
+       perllibs=`cd $srcdir;$vi_cv_path_perl -MExtUtils::Embed \
+-	      -e 'ldopts' | sed '/Warning/d'`
++	      -e 'ldopts' | sed '/Warning/d' | sed '/Note (probably harmless)/d'`
+       if test "X$perllibs" != "X"; then
+ 	LIBS="$perllibs $LIBS"
+       fi
+@@ -2175,7 +2175,7 @@
+ echo "configure:2176: checking for location of Motif GUI libs" >&5
    GUI_LIB_LOC=
    for try in $gui_libs; do
 -    if test -f "$try/libXm.a" -o -f "$try/libXm.so" -o -f "$try/libXm.sl"; then



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971019230645.45189>