svn commit: r363151 - head/audio/xmixer

Adam Weinberger adamw at FreeBSD.org
Mon Jul 28 13:41:50 UTC 2014


Author: adamw
Date: Mon Jul 28 13:41:49 2014
New Revision: 363151
URL: http://svnweb.freebsd.org/changeset/ports/363151
QAT: https://qat.redports.org/buildarchive/r363151/

Log:
  Make gtk12 support an OPTION, rather than just checking if it's already
  installed.

Modified:
  head/audio/xmixer/Makefile

Modified: head/audio/xmixer/Makefile
==============================================================================
--- head/audio/xmixer/Makefile	Mon Jul 28 13:21:06 2014	(r363150)
+++ head/audio/xmixer/Makefile	Mon Jul 28 13:41:49 2014	(r363151)
@@ -19,9 +19,11 @@ ALL_TARGET=	${PROGRAMS}
 PLIST_FILES=	bin/xmixer \
 		man/man1/xmixer.1.gz
 
-.include <bsd.port.pre.mk>
+OPTIONS_DEFINE=	GTK1
 
-.if ${HAVE_GNOME:Mgtk12}!=""
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGTK1}
 USE_GNOME+=	gtk12
 PROGRAMS=	xmixer xgmixer
 MLINKS+=	xmixer.1 xgmixer.1
@@ -46,4 +48,4 @@ do-install:
 .endfor
 	${INSTALL_MAN} ${WRKSRC}/xmixer.man ${STAGEDIR}${MAN1PREFIX}/man/man1/xmixer.1
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>


More information about the svn-ports-all mailing list