aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql60-server
diff options
context:
space:
mode:
authoranders <anders@FreeBSD.org>2002-07-01 05:06:00 +0800
committeranders <anders@FreeBSD.org>2002-07-01 05:06:00 +0800
commit259edcc376894b4474b14809c82eae20371ece66 (patch)
treebfb86cdf1947656211a909e323a5bfb257db193d /databases/mysql60-server
parent2968d522bf931ffeb0b2231bd99043ca50d83221 (diff)
downloadfreebsd-ports-gnome-259edcc376894b4474b14809c82eae20371ece66.tar.gz
freebsd-ports-gnome-259edcc376894b4474b14809c82eae20371ece66.tar.zst
freebsd-ports-gnome-259edcc376894b4474b14809c82eae20371ece66.zip
Look for my.cnf in ${PREFIX}/etc rather than /etc.
Silence by: dirk
Diffstat (limited to 'databases/mysql60-server')
-rw-r--r--databases/mysql60-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/mysql60-server/Makefile b/databases/mysql60-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/mysql60-server/Makefile
+++ b/databases/mysql60-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)