aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-01 14:45:19 +0000
committerFrank J. Laszlo <laszlof@FreeBSD.org>2006-12-01 14:45:19 +0000
commit4e74eb7b51890bc4429b3f12c1d5c09bb34e1615 (patch)
treebe78b1fbdc8b6a35dbb5c7fadfe66bcbdf7bab44 /audio
parent8fae381e1b6c6f839b587b1654a96b4323960f79 (diff)
downloadports-4e74eb7b51890bc4429b3f12c1d5c09bb34e1615.tar.gz
ports-4e74eb7b51890bc4429b3f12c1d5c09bb34e1615.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/xanalyser/Makefile7
-rw-r--r--audio/xanalyser/files/patch-Makefile.in11
2 files changed, 6 insertions, 12 deletions
diff --git a/audio/xanalyser/Makefile b/audio/xanalyser/Makefile
index 48818efa566c..ced0d58b324e 100644
--- a/audio/xanalyser/Makefile
+++ b/audio/xanalyser/Makefile
@@ -26,6 +26,11 @@ PLIST_FILES= bin/xanalyser \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
-BROKEN= Does not compile
+BROKEN= Does not compile
.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/usr/X11R6|${X11BASE}|g' \
+ -e 's|-lXm |${MOTIFLIB} |g' ${WRKSRC}/src/Makefile.in
+
.include <bsd.port.post.mk>
diff --git a/audio/xanalyser/files/patch-Makefile.in b/audio/xanalyser/files/patch-Makefile.in
deleted file mode 100644
index 39b608fe871d..000000000000
--- a/audio/xanalyser/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/Makefile.in.orig Sun Oct 29 21:51:38 2006
-+++ src/Makefile.in Sun Oct 29 21:52:16 2006
-@@ -188,7 +188,7 @@
- utils.cc utils.h \
- Trans.h
-
--xanalyser_LDADD = -lXext -lXm -lXt -lSM -lICE -lXmu -lXpm -lX11 \
-+xanalyser_LDADD = -lXext ${MOTIFLIB} -lXt -lSM -lICE -lXmu -lXpm -lX11 \
- $(FFTWLDADD) $(ALSALDADD)
-
- EXTRA_DIST = XAnalyser.ad help.txt *.xpm