ports/182980: editors/vim needs pkgconf (on pkgng)

Jimmy Olgeni olgeni at FreeBSD.org
Mon Oct 14 20:10:01 UTC 2013


>Number:         182980
>Category:       ports
>Synopsis:       editors/vim needs pkgconf (on pkgng)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 14 20:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD olgeni 9.1-STABLE FreeBSD 9.1-STABLE #1 r249688: Sat Apr 20 13:28:27 CEST 2013 root at olgeni:/usr/obj/usr/src/sys/RELENG_9.amd64 amd64
>Description:

A couple of fixes:

- When using pkgng, a direct dependency on pkgconfig is required to find
  the GTK2 libraries, else GTK2 support will not be enabled.

- USES=perl5 should not override the current values of USES.

>How-To-Repeat:
>Fix:

--- Makefile.orig	2013-10-14 21:45:18.517677256 +0200
+++ Makefile	2013-10-14 21:45:49.120684170 +0200
@@ -108,7 +108,7 @@
 .endif

 .if ${PORT_OPTIONS:MPERL}
-USES=	perl5
+USES+=	perl5
 MAKE_ARGS+=	CONF_OPT_PERL="--enable-perlinterp"
 .endif

@@ -145,6 +145,7 @@
 . endif

 . if ${PORT_OPTIONS:MGTK2}
+USES+=		pkgconfig
 USE_GNOME=	gtk20
 CONF_OPT_GUI="--enable-gui=gtk2 --with-gtk-prefix=${LOCALBASE}"
 MAKE_ARGS+=	X_LIBS="$(X_LIBS) -lXt"
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list