summaryrefslogtreecommitdiffstats
path: root/databases/mysql40-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-01-10 13:40:21 +0000
committerale <ale@FreeBSD.org>2005-01-10 13:40:21 +0000
commita30c0cdc05c39dacbb6de2ef1a82ef9989d86e7c (patch)
tree81d71d204a7ad26a090c674e2a5321f958347c08 /databases/mysql40-server
parentccabe9dbb9f0f5f8826715d98c11dbb09000919e (diff)
downloadFreeBSD-ports-a30c0cdc05c39dacbb6de2ef1a82ef9989d86e7c.zip
FreeBSD-ports-a30c0cdc05c39dacbb6de2ef1a82ef9989d86e7c.tar.gz
Move pre-configure in the common part.
Spotted by: Maxim Maximov <mcsi@mcsi.pp.ru>
Diffstat (limited to 'databases/mysql40-server')
-rw-r--r--databases/mysql40-server/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/mysql40-server/Makefile b/databases/mysql40-server/Makefile
index 451c688..4152d4c 100644
--- a/databases/mysql40-server/Makefile
+++ b/databases/mysql40-server/Makefile
@@ -145,12 +145,6 @@ post-patch:
post-build:
@${SED} "s|%%DB_DIR%%|${DB_DIR}|g" ${PKGDIR}/pkg-install > ${WRKDIR}/pkg-install
-.if defined(WITH_OPENSSL) && defined(BUILD_STATIC)
-pre-configure:
- @${ECHO} "You can't use the BUILD_STATIC option when using OpenSSL."
- @${FALSE}
-.endif
-
post-install:
.if !defined(PACKAGE_BUILDING)
.if exists(${DB_DIR}) && defined(OVERWRITE_DB) && ${OVERWRITE_DB:L} != "no"
@@ -229,4 +223,10 @@ post-patch:
post-extract:
@${CP} /usr/include/tcpd.h ${WRKSRC}/sql/mytcpd.h
+.if defined(WITH_OPENSSL) && defined(BUILD_STATIC)
+pre-configure:
+ @${ECHO} "You can't use the BUILD_STATIC option when using OpenSSL."
+ @${FALSE}
+.endif
+
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud