aboutsummaryrefslogtreecommitdiff
path: root/audio/timidity++-motif/Makefile
diff options
context:
space:
mode:
authorR. Imura <imura@FreeBSD.org>1999-12-10 00:59:27 +0000
committerR. Imura <imura@FreeBSD.org>1999-12-10 00:59:27 +0000
commita3398b46295508fdc7e5a99bc6cf6b2c53e15434 (patch)
treec14203d1305b7a19172668cf05df6c691d93be17 /audio/timidity++-motif/Makefile
parentbca2e1ea57bc1c53c6162d699d9a9c24458f9661 (diff)
downloadports-a3398b46295508fdc7e5a99bc6cf6b2c53e15434.tar.gz
ports-a3398b46295508fdc7e5a99bc6cf6b2c53e15434.zip
Fix some compilation problem.
PR: 14871 Submitted by: Maintainer
Notes
Notes: svn path=/head/; revision=23699
Diffstat (limited to 'audio/timidity++-motif/Makefile')
-rw-r--r--audio/timidity++-motif/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/audio/timidity++-motif/Makefile b/audio/timidity++-motif/Makefile
index 4d4bf4e0c114..e6cd44bd0a77 100644
--- a/audio/timidity++-motif/Makefile
+++ b/audio/timidity++-motif/Makefile
@@ -38,6 +38,12 @@ CONFIGURE_ENV+= LDFLAGS=-export-dynamic
TIMID_DIR= ${PREFIX}/lib/timidity
LINK= xmmidi
+post-configure:
+ @${MV} ${WRKSRC}/interface/Makefile ${WRKSRC}/interface/Makefile.orig
+ @${SED} -e 's^m_so_libs = $$^m_so_libs = -L/usr/X11R6/lib ${MOTIFLIB} -lXt -lXext -lSM -lICE -lX11 ^' \
+ -e 's^dynamic_targets = $$^dynamic_targets = interface_m.so^' \
+ ${WRKSRC}/interface/Makefile.orig > ${WRKSRC}/interface/Makefile
+
do-build:
cd ${WRKSRC}/interface; ${MAKE}