Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Oct 2013 22:01:11 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        obrien@FreeBSD.org
Subject:   ports/182980: editors/vim needs pkgconf (on pkgng)
Message-ID:  <201310142001.r9EK1BGV095247@olgeni.olgeni>
Resent-Message-ID: <201310142010.r9EKA05H058313@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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