summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2005-06-10 17:05:43 +0000
committerume <ume@FreeBSD.org>2005-06-10 17:05:43 +0000
commit1087956c6ddf8d41b030669f36fca18960a635f4 (patch)
tree04cf9b406d101e33e7e8bfc9dd13ab6f2ae7ec43 /audio
parent8740e313899ead6814af7b1fd6999baec5605934 (diff)
downloadFreeBSD-ports-1087956c6ddf8d41b030669f36fca18960a635f4.zip
FreeBSD-ports-1087956c6ddf8d41b030669f36fca18960a635f4.tar.gz
fix build.
Diffstat (limited to 'audio')
-rw-r--r--audio/gkrellmss2/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/audio/gkrellmss2/Makefile b/audio/gkrellmss2/Makefile
index 1769877..240eabd 100644
--- a/audio/gkrellmss2/Makefile
+++ b/audio/gkrellmss2/Makefile
@@ -31,16 +31,11 @@ PORTDOCS= Changelog README Themes
PLIST_FILES= libexec/gkrellm2/plugins/gkrellmss.so \
share/locale/ru/LC_MESSAGES/gkrellm-gkrellmss.mo
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 503000
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|= -O2|=|g ; \
s|= gcc|+=|g' ${WRKSRC}/src/Makefile
- @${REINPLACE_CMD} -e 's|PKG_LIBS|PKG_LIB|g' ${WRKSRC}/src/configure
+ @${REINPLACE_CMD} -e 's|PKG_LIBS|PKG_LIB|g' \
+ -e "s|-lfftw3|-L${LOCALBASE}/lib &|g" ${WRKSRC}/src/configure
do-install:
${INSTALL_DATA} ${WRKSRC}/src/gkrellmss.so \
@@ -54,4 +49,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud