Check ${PREFIX}/etc rather than /etc for the configuration file.

requested by:  Raphael H. Becker
This commit is contained in:
Trevor Johnson 2003-08-24 16:39:04 +00:00
parent 718fe1846c
commit b8ac4251de
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87613

View File

@ -40,6 +40,13 @@ pre-extract:
@sleep 3 @sleep 3
.endif .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) && \ .if (${HAVE_GNOME:Mgtk12}!="") && !defined(WITHOUT_ALL) && \
!defined(WITHOUT_GTK)&& !defined(WITH_GTK2) !defined(WITHOUT_GTK)&& !defined(WITH_GTK2)
USE_GNOME= gtk12 USE_GNOME= gtk12