Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Aug 2012 19:22:27 +0000 (UTC)
From:      Olivier Duchateau <olivierd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r302351 - head/x11/libexo
Message-ID:  <201208091922.q79JMRqW043637@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: olivierd
Date: Thu Aug  9 19:22:26 2012
New Revision: 302351
URL: http://svn.freebsd.org/changeset/ports/302351

Log:
  - Use USE_PKGCONFIG macro
  - Add patch when NLS is unset
  
  Submitted by:	myself
  Approved by:	miwi, rene (mentors)

Modified:
  head/x11/libexo/Makefile

Modified: head/x11/libexo/Makefile
==============================================================================
--- head/x11/libexo/Makefile	Thu Aug  9 19:13:56 2012	(r302350)
+++ head/x11/libexo/Makefile	Thu Aug  9 19:22:26 2012	(r302351)
@@ -7,7 +7,7 @@
 
 PORTNAME=	libexo
 PORTVERSION=	0.8.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11 xfce
 MASTER_SITES=	${MASTER_SITE_XFCE}
 DISTNAME=	exo-${PORTVERSION}
@@ -26,12 +26,12 @@ GNU_CONFIGURE=	yes
 INSTALLS_ICONS=	yes
 USE_BZIP2=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gnomehack glib20 gtk20 intltool intlhack pkgconfig \
-		desktopfileutils
+USE_GNOME=	gnomehack glib20 gtk20 intltool intlhack desktopfileutils
 USE_LDCONFIG=	yes
 USE_PERL5=	yes
 USE_XFCE=	configenv libmenu libutil
 USE_XORG=	x11
+USE_PKGCONFIG=	build
 
 CONFIGURE_ARGS+=--enable-gio-unix \
 		--disable-gtk-doc-html
@@ -59,6 +59,11 @@ CONFIGURE_ARGS+=--disable-nls
 PLIST_SUB+=	NLS="@comment "
 .endif
 
+.if empty(PORT_OPTIONS:MNLS)
+post-patch:
+	@${REINPLACE_CMD} -e 's|	po||' ${WRKSRC}/Makefile.in
+.endif
+
 post-install:
 	@-update-desktop-database
 



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