aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/timidity++-emacs/Makefile2
-rw-r--r--audio/timidity++-slang/Makefile4
2 files changed, 4 insertions, 2 deletions
diff --git a/audio/timidity++-emacs/Makefile b/audio/timidity++-emacs/Makefile
index b547dac96810..95930577cf09 100644
--- a/audio/timidity++-emacs/Makefile
+++ b/audio/timidity++-emacs/Makefile
@@ -33,7 +33,7 @@ USE_GMAKE= yes
USE_XLIB= yes
.endif
-CONFIGURE_ARGS= --enable-dynamic=${INTERFACE}
+CONFIGURE_ARGS+=--enable-dynamic=${INTERFACE}
MASTERDIR= ${.CURDIR}/../../audio/timidity++
PKGDIR= ${.CURDIR}
diff --git a/audio/timidity++-slang/Makefile b/audio/timidity++-slang/Makefile
index cdac2c6e4594..b7ba627f8448 100644
--- a/audio/timidity++-slang/Makefile
+++ b/audio/timidity++-slang/Makefile
@@ -10,7 +10,9 @@ INTERFACE= slang
MAINTAINER= ports@FreeBSD.org
COMMENT= Slang interface for TiMidity++
-MASTERDIR= ${.CURDIR}/../../audio/timidity++-emacs
+MASTERDIR= ${.CURDIR:H:H}/audio/timidity++-emacs
+CONFIGURE_ARGS+=--with-includes=${LOCALBASE}/include \
+ --with-libraries=${LOCALBASE}/lib
PLIST_FILES= lib/timidity/interface_s.so
.include "${MASTERDIR}/Makefile"