diff options
author | trevor <trevor@FreeBSD.org> | 2003-08-24 16:39:04 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2003-08-24 16:39:04 +0000 |
commit | b7c2a6b635d28f1a7233aa46ab76c96c429603ed (patch) | |
tree | 158e4114bf43246354de120173f741a960320996 /audio/aumix | |
parent | 5e660834d7c7892ecfec1bfa4ea58908bdf4509e (diff) | |
download | FreeBSD-ports-b7c2a6b635d28f1a7233aa46ab76c96c429603ed.zip FreeBSD-ports-b7c2a6b635d28f1a7233aa46ab76c96c429603ed.tar.gz |
Check ${PREFIX}/etc rather than /etc for the configuration file.
requested by: Raphael H. Becker
Diffstat (limited to 'audio/aumix')
-rw-r--r-- | audio/aumix/Makefile | 7 |
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 |