svn commit: r396860 - head/audio/autozen

Baptiste Daroussin bapt at FreeBSD.org
Sun Sep 13 21:18:10 UTC 2015


Author: bapt
Date: Sun Sep 13 21:18:09 2015
New Revision: 396860
URL: https://svnweb.freebsd.org/changeset/ports/396860

Log:
  Switch to GTK2 by default and remove option to switch back to gtk 1.2

Modified:
  head/audio/autozen/Makefile

Modified: head/audio/autozen/Makefile
==============================================================================
--- head/audio/autozen/Makefile	Sun Sep 13 20:37:04 2015	(r396859)
+++ head/audio/autozen/Makefile	Sun Sep 13 21:18:09 2015	(r396860)
@@ -3,7 +3,7 @@
 
 PORTNAME=	autozen
 PORTVERSION=	2.1
-PORTREVISION=	6
+PORTREVISION=	7
 CATEGORIES=	audio
 MASTER_SITES=	http://www.sourcefiles.org/Miscellaneous/
 
@@ -12,9 +12,9 @@ COMMENT=	Adjust brain waves with sound
 
 LICENSE=	GPLv2
 
-OPTIONS_DEFINE=	GTK2 DOCS
+OPTIONS_DEFINE=	DOCS
 
-USES=		shebangfix perl5
+USES=		shebangfix perl5 pkgconfig
 SHEBANG_FILES=	zentime
 USE_PERL5=	run
 
@@ -27,10 +27,9 @@ DESKTOP_ENTRIES="AutoZen" \
 
 PORTDOCS=	*
 
-GTK2_USES=	pkgconfig
-GTK2_USE=	GNOME=gtk20
-GTK2_MAKE_ENV=	GTK_CONFIG="pkg-config gtk+-2.0"
-GTK2_USE_OFF=	GNOME=gtk12
+USE_GNOME=	gtk20
+MAKE_ENV=	GTK_CONFIG="pkg-config gtk+-2.0"
+LDFLAGS+=	-lm
 
 post-extract:
 	@cd ${WRKSRC} && ${RM} -f autozen seq2wav
@@ -42,7 +41,8 @@ post-patch:
 		 /^PREFIX/s| =| ?=| ; \
 		 s|share/AutoZen|${DATADIR_REL}| ; \
 		 s|gtk-config|$${GTK_CONFIG}|g ; \
-		 s|$$(CC) seq2wav|$$(CC) $$(CFLAGS) seq2wav|' \
+		 s|$$(CC) seq2wav|$$(CC) $$(CFLAGS) seq2wav| ; \
+		 s|-pthread|-lm -pthread|g' \
 		${WRKSRC}/Makefile
 
 do-install:


More information about the svn-ports-all mailing list