aboutsummaryrefslogtreecommitdiffstats
path: root/audio/csound/Makefile
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2007-09-25 16:53:49 +0800
committerrafan <rafan@FreeBSD.org>2007-09-25 16:53:49 +0800
commitd3e496de90e04e59a3b00ab08a66f9e79aaf4653 (patch)
tree619feda82e2e07f66d2177f81f2545e786dc143d /audio/csound/Makefile
parentf5e28043265013d38a4f11702764df5db365bdb7 (diff)
downloadfreebsd-ports-gnome-d3e496de90e04e59a3b00ab08a66f9e79aaf4653.tar.gz
freebsd-ports-gnome-d3e496de90e04e59a3b00ab08a66f9e79aaf4653.tar.zst
freebsd-ports-gnome-d3e496de90e04e59a3b00ab08a66f9e79aaf4653.zip
- When fltk is not installed, scripts/check-fltk-threads.sh misbehaves
due to not checking existence of fltk-config before using it. Fix that by checking existence before using. PR: ports/116623 Submitted by: bgruber <knightbg at yahoo.com> Approved by: Martin Tournoij <carpetsmoker at xs4all.nl> (maintainer)
Diffstat (limited to 'audio/csound/Makefile')
-rw-r--r--audio/csound/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/csound/Makefile b/audio/csound/Makefile
index 29d05e157df5..f337563c7e3a 100644
--- a/audio/csound/Makefile
+++ b/audio/csound/Makefile
@@ -41,8 +41,9 @@ USE_LDCONFIG= yes
DISTFILES+= ${DISTNAME}-manual.tar.gz:manual
.endif
+FLTKBASE?= ${LOCALBASE}
post-patch: apply-slist
- @/bin/sh ${SCRIPTDIR}/check-fltk-threads.sh
+ @${SETENV} FLTKBASE=${FLTKBASE} ${SH} ${SCRIPTDIR}/check-fltk-threads.sh
@${MV} ${WRKDIR}/custom.py ${WRKSRC}
@${REINPLACE_CMD} -e "s|'unsupported'|'linux'|; \
s|ENV = {'PATH' : os.environ\['PATH'\]}|ENV = os.environ|; \