summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/aumix/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/audio/aumix/Makefile b/audio/aumix/Makefile
index a656d9c..d3a3ee4 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
OpenPOWER on IntegriCloud