svn commit: r329939 - head/x11-toolkits/girara

Guido Falsi madpilot at FreeBSD.org
Wed Oct 9 23:14:36 UTC 2013


Author: madpilot
Date: Wed Oct  9 23:14:35 2013
New Revision: 329939
URL: http://svnweb.freebsd.org/changeset/ports/329939

Log:
  - Convert to USES=compiler

Modified:
  head/x11-toolkits/girara/Makefile

Modified: head/x11-toolkits/girara/Makefile
==============================================================================
--- head/x11-toolkits/girara/Makefile	Wed Oct  9 23:12:05 2013	(r329938)
+++ head/x11-toolkits/girara/Makefile	Wed Oct  9 23:14:35 2013	(r329939)
@@ -10,27 +10,16 @@ MAINTAINER=	madpilot at FreeBSD.org
 COMMENT=	GTK2 Interface Library for Zathura PDF Viewer
 
 USE_GNOME=	glib20 gtk20
-USES=		gmake pkgconfig
+USES=		compiler:c11 gmake pkgconfig
 USE_LDCONFIG=	yes
+LIBDIR=		${PREFIX}/lib
 
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	NLS
 
-.if exists(/usr/bin/clang) && ${OSVERSION} > 900014
-CC=		/usr/bin/clang
-CPP=		/usr/bin/clang-cpp
-CXX=		/usr/bin/clang++
-.else
-USE_GCC=	yes
-.endif
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
 
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
-
-LIBDIR=		${PREFIX}/lib
+.include <bsd.port.options.mk>
 
 post-patch:	.SILENT
 	${REINPLACE_CMD} -e 's|$${LIBDIR}/pkgconfig|${PREFIX}/libdata/pkgconfig|g'\


More information about the svn-ports-head mailing list