From 63f849a1c497246fe88646bd1eae9f5cb39f5c52 Mon Sep 17 00:00:00 2001 From: Anders Nordby Date: Sun, 30 Jun 2002 21:06:00 +0000 Subject: Look for my.cnf in ${PREFIX}/etc rather than /etc. Silence by: dirk --- databases/mysql323-server/Makefile | 4 ++++ databases/mysql40-server/Makefile | 4 ++++ databases/mysql41-server/Makefile | 4 ++++ databases/mysql50-server/Makefile | 4 ++++ databases/mysql51-server/Makefile | 4 ++++ databases/mysql54-server/Makefile | 4 ++++ databases/mysql55-server/Makefile | 4 ++++ databases/mysql60-server/Makefile | 4 ++++ databases/percona55-server/Makefile | 4 ++++ 9 files changed, 36 insertions(+) (limited to 'databases') 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) -- cgit v1.2.3