ports/63018: editors/vim: dependency to ruby/python is not registered
KOMATSU Shinichiro
koma2 at jiro.c.u-tokyo.ac.jp
Wed Feb 18 14:40:03 UTC 2004
>Number: 63018
>Category: ports
>Synopsis: editors/vim: dependency to ruby/python is not registered
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Feb 18 06:40:02 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: KOMATSU Shinichiro
>Release: FreeBSD 4.7-RELEASE i386
>Organization:
>Environment:
FreeBSD 4.7-RELEASE i386
>Description:
Dependency to ruby/python is not registered
even if WITH_RUBY/WITH_PYTHON is defined.
>How-To-Repeat:
% make WITH_PYTHON=yes WITH_RUBY=yes build-depends-list
/usr/ports/converters/libiconv
/usr/ports/devel/glib12
/usr/ports/devel/pkgconfig
/usr/ports/x11-toolkits/gtk12
(ruby/python does not appeard)
>Fix:
USE_RUBY/USE_PYTHON should be appeared before including bsd.port.pre.mk
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/editors/vim/Makefile,v
retrieving revision 1.246
diff -u -u -r1.246 Makefile
--- Makefile 15 Feb 2004 22:01:48 -0000 1.246
+++ Makefile 18 Feb 2004 14:28:28 -0000
@@ -56,6 +56,16 @@
WANT_GNOME= yes
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+MAKE_ARGS+= CONF_OPT_PYTHON="--enable-pythoninterp"
+.endif
+
+.if defined(WITH_RUBY)
+USE_RUBY= yes
+MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp"
+.endif
+
.include <bsd.port.pre.mk>
.if !defined(LITE)
@@ -71,11 +81,6 @@
CSCOPE_ARG= --enable-cscope
.endif
-.if defined(WITH_PYTHON)
-USE_PYTHON= yes
-MAKE_ARGS+= CONF_OPT_PYTHON="--enable-pythoninterp"
-.endif
-
.if defined(WITH_PERL)
USE_PERL5= yes
MAKE_ARGS+= CONF_OPT_PERL="--enable-perlinterp"
@@ -85,11 +90,6 @@
BUILD_DEPENDS= tclsh8.4:${PORTSDIR}/lang/tcl84
LIB_DEPENDS= tcl84.1:${PORTSDIR}/lang/tcl84
MAKE_ARGS+= CONF_OPT_TCL="--enable-tclinterp"
-.endif
-
-.if defined(WITH_RUBY)
-USE_RUBY= yes
-MAKE_ARGS+= CONF_OPT_RUBY="--enable-rubyinterp"
.endif
.if !defined(WITHOUT_X11)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list