aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql41-server
diff options
context:
space:
mode:
authorAnders Nordby <anders@FreeBSD.org>2002-06-30 21:06:00 +0000
committerAnders Nordby <anders@FreeBSD.org>2002-06-30 21:06:00 +0000
commit63f849a1c497246fe88646bd1eae9f5cb39f5c52 (patch)
tree5322b769970476ea5c5c6fe483aaabf9dc0eb6ec /databases/mysql41-server
parenta9eca8c004cce029b731f3571e7ec2ee54aab4c6 (diff)
downloadports-63f849a1c497246fe88646bd1eae9f5cb39f5c52.tar.gz
ports-63f849a1c497246fe88646bd1eae9f5cb39f5c52.zip
Notes
Diffstat (limited to 'databases/mysql41-server')
-rw-r--r--databases/mysql41-server/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index bbd4807d7c90..6435004e769c 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)