aboutsummaryrefslogtreecommitdiff
path: root/audio/gkrellmss2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2005-06-10 17:05:43 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2005-06-10 17:05:43 +0000
commitb2e2b7af72975563b3b5b02227f8971df838c0f9 (patch)
treeda954e1b2aa8ecd6c9e107b1ec634fb7691bcf9d /audio/gkrellmss2
parent92a786ee5056c31bb6e02caee20267b3c17ab6e6 (diff)
downloadports-b2e2b7af72975563b3b5b02227f8971df838c0f9.tar.gz
ports-b2e2b7af72975563b3b5b02227f8971df838c0f9.zip
fix build.
Notes
Notes: svn path=/head/; revision=137205
Diffstat (limited to 'audio/gkrellmss2')
-rw-r--r--audio/gkrellmss2/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/audio/gkrellmss2/Makefile b/audio/gkrellmss2/Makefile
index 1769877686ea..240eabd26201 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>