diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/autozen/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/audio/autozen/Makefile b/audio/autozen/Makefile index 707bfe00c76f..79d6dbed4791 100644 --- a/audio/autozen/Makefile +++ b/audio/autozen/Makefile @@ -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: |