summaryrefslogtreecommitdiffstats
path: root/databases/mysql50-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/mysql50-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/mysql50-server')
-rw-r--r--databases/mysql50-server/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/mysql50-server/Makefile b/databases/mysql50-server/Makefile
index 702f3d9..631e1c4 100644
--- a/databases/mysql50-server/Makefile
+++ b/databases/mysql50-server/Makefile
@@ -160,12 +160,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"
@@ -249,4 +243,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