Look for my.cnf in ${PREFIX}/etc rather than /etc.

Silence by:	dirk
This commit is contained in:
Anders Nordby 2002-06-30 21:06:00 +00:00
parent a9eca8c004
commit 63f849a1c4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62229
9 changed files with 36 additions and 0 deletions

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)

View file

@ -123,6 +123,10 @@ pre-install:
@${FALSE}
.endif
post-patch:
@${SED} "s|/etc|${PREFIX}/etc|g" < ${WRKSRC}/mysys/default.c > ${WRKSRC}/mysys/default.c.etcfix
@${CP} ${WRKSRC}/mysys/default.c.etcfix ${WRKSRC}/mysys/default.c
post-install:
.if !defined(PACKAGE_BUILDING)
.if !defined(SKIP_INSTALL_DB)