aboutsummaryrefslogtreecommitdiffstats
path: root/databases
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
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')
-rw-r--r--databases/mysql323-server/Makefile4
-rw-r--r--databases/mysql40-server/Makefile4
-rw-r--r--databases/mysql41-server/Makefile4
-rw-r--r--databases/mysql50-server/Makefile4
-rw-r--r--databases/mysql51-server/Makefile4
-rw-r--r--databases/mysql54-server/Makefile4
-rw-r--r--databases/mysql55-server/Makefile4
-rw-r--r--databases/mysql60-server/Makefile4
-rw-r--r--databases/percona55-server/Makefile4
9 files changed, 36 insertions, 0 deletions
diff --git a/databases/mysql323-server/Makefile b/databases/mysql323-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/mysql323-server/Makefile
+++ b/databases/mysql323-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)
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-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)
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)
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-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)
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-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)
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/mysql54-server/Makefile
+++ b/databases/mysql54-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)
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-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)
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)
diff --git a/databases/percona55-server/Makefile b/databases/percona55-server/Makefile
index bbd4807d7c90..6435004e769c 100644
--- a/databases/percona55-server/Makefile
+++ b/databases/percona55-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)