aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlaszlof <laszlof@FreeBSD.org>2006-12-01 22:45:19 +0800
committerlaszlof <laszlof@FreeBSD.org>2006-12-01 22:45:19 +0800
commit5c97d343cc580213c0b32c310ac891bf9a789a9f (patch)
tree4468eed34e898d30fed07a18dbd536a41449d278
parenta412944d9dca6160aebb325187abf8afd07c7192 (diff)
downloadfreebsd-ports-graphics-5c97d343cc580213c0b32c310ac891bf9a789a9f.tar.gz
freebsd-ports-graphics-5c97d343cc580213c0b32c310ac891bf9a789a9f.tar.zst
freebsd-ports-graphics-5c97d343cc580213c0b32c310ac891bf9a789a9f.zip
1) Move patch-Makefile.in into REINPLACE_CMD
2) Respect X11BASE PR: ports/105922 Submitted by: Diane Bruce <db@db.net> (maintainer)
-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 48818efa566..ced0d58b324 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 39b608fe871..00000000000
--- 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