aboutsummaryrefslogtreecommitdiff
path: root/audio/aumix
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2003-08-24 16:39:04 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2003-08-24 16:39:04 +0000
commitb8ac4251de0192af3b59b11bdb4ea9e262e1b351 (patch)
tree1f62029e064fa98967953e78c3a342b88d319474 /audio/aumix
parent718fe1846c0b9a8aee9c6509baa758cb43b57e85 (diff)
downloadports-b8ac4251de0192af3b59b11bdb4ea9e262e1b351.tar.gz
ports-b8ac4251de0192af3b59b11bdb4ea9e262e1b351.zip
Check ${PREFIX}/etc rather than /etc for the configuration file.
requested by: Raphael H. Becker
Notes
Notes: svn path=/head/; revision=87613
Diffstat (limited to 'audio/aumix')
-rw-r--r--audio/aumix/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile
index a656d9c5f793..d3a3ee40e2e7 100644
--- a/audio/aumix/Makefile
+++ b/audio/aumix/Makefile
@@ -40,6 +40,13 @@ pre-extract:
@sleep 3
.endif
+do-patch:
+.for ii in c h
+ ${CP} -p ${WRKSRC}/src/common.${ii} ${WRKSRC}/src/common.${ii}.orig
+ ${SED} -e "s:/etc:${PREFIX}/etc:" < ${WRKSRC}/src/common.${ii}.orig \
+ > ${WRKSRC}/src/common.${ii}
+.endfor
+
.if (${HAVE_GNOME:Mgtk12}!="") && !defined(WITHOUT_ALL) && \
!defined(WITHOUT_GTK)&& !defined(WITH_GTK2)
USE_GNOME= gtk12