diff options
author | anders <anders@FreeBSD.org> | 2002-06-30 21:06:00 +0000 |
---|---|---|
committer | anders <anders@FreeBSD.org> | 2002-06-30 21:06:00 +0000 |
commit | 259edcc376894b4474b14809c82eae20371ece66 (patch) | |
tree | bfb86cdf1947656211a909e323a5bfb257db193d /databases/mysql41-server | |
parent | 2968d522bf931ffeb0b2231bd99043ca50d83221 (diff) | |
download | FreeBSD-ports-259edcc376894b4474b14809c82eae20371ece66.zip FreeBSD-ports-259edcc376894b4474b14809c82eae20371ece66.tar.gz |
Look for my.cnf in ${PREFIX}/etc rather than /etc.
Silence by: dirk
Diffstat (limited to 'databases/mysql41-server')
-rw-r--r-- | databases/mysql41-server/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile index bbd4807..6435004 100644 --- a/databases/mysql41-server/Makefile +++ b/databases/mysql41-server/Makefile @@ -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) |