diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-05-31 21:00:37 +0800 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-05-31 21:00:37 +0800 |
commit | b6e9d40d287a971eaec4e4b8857cb6d466abd4f7 (patch) | |
tree | db4bfe79fa6fe7862dd57c2eb048867294768456 /audio/wsoundserver | |
parent | e149d54a2f5ac969e0d1c3e0412dfca12d552487 (diff) | |
download | freebsd-ports-gnome-b6e9d40d287a971eaec4e4b8857cb6d466abd4f7.tar.gz freebsd-ports-gnome-b6e9d40d287a971eaec4e4b8857cb6d466abd4f7.tar.zst freebsd-ports-gnome-b6e9d40d287a971eaec4e4b8857cb6d466abd4f7.zip |
Fix build, install and (hopefuly) run with custom PREFIX/LOCALBASE.
Reported by: QATty
Diffstat (limited to 'audio/wsoundserver')
-rw-r--r-- | audio/wsoundserver/Makefile | 6 | ||||
-rw-r--r-- | audio/wsoundserver/files/configure | 4 |
2 files changed, 7 insertions, 3 deletions
diff --git a/audio/wsoundserver/Makefile b/audio/wsoundserver/Makefile index 9bf0cf2b62f1..4c6f18196a98 100644 --- a/audio/wsoundserver/Makefile +++ b/audio/wsoundserver/Makefile @@ -26,12 +26,16 @@ WANT_GNOME= yes USE_LDCONFIG= yes GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/WINGs" +CONFIGURE_ARGS+=--x-includes=${LOCALBASE}/include \ + --x-libraries=${LOCALBASE}/lib \ + --with-libs-from=-L${LOCALBASE}/lib \ + --with-incs-from=-I{LOCALBASE}/include MAN1= get-wsound-flags.1x getsoundset.1x setsoundset.1x \ wsoundplay.1x wsoundserver.1x post-install: - ${SH} ${FILESDIR}/configure > ${WRKDIR}/WMSound + ${SETENV} ${SCRIPTS_ENV} ${SH} ${FILESDIR}/configure > ${WRKDIR}/WMSound ${MKDIR} ${PREFIX}/etc/WindowMaker ${INSTALL_DATA} ${WRKDIR}/WMSound \ ${PREFIX}/etc/WindowMaker/WMSound diff --git a/audio/wsoundserver/files/configure b/audio/wsoundserver/files/configure index 797a9b04d04c..c8e1a56423bc 100644 --- a/audio/wsoundserver/files/configure +++ b/audio/wsoundserver/files/configure @@ -9,9 +9,9 @@ DEVICE="/dev/dsp" (echo "{";\ echo " SoundPath = (\"~/GNUstep/Library/WindowMaker/Sounds\",";\ -echo " \"/usr/X11R6/share/WindowMaker/Sounds\");";\ +echo " \"${PREFIX}/share/WindowMaker/Sounds\");";\ echo " SoundSetsPath = (\"~/GNUstep/Library/WindowMaker/SoundSets\",";\ -echo " \"/usr/X11R6/share/WindowMaker/SoundSets\");";\ +echo " \"${PREFIX}/share/WindowMaker/SoundSets\");";\ echo " Device = $DEVICE;";\ echo " AppExit = appexit.wav;";\ echo " AppStart = appstart.wav;";\ |