aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql55-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-01-10 21:40:21 +0800
committerale <ale@FreeBSD.org>2005-01-10 21:40:21 +0800
commita30c0cdc05c39dacbb6de2ef1a82ef9989d86e7c (patch)
tree81d71d204a7ad26a090c674e2a5321f958347c08 /databases/mysql55-server
parentccabe9dbb9f0f5f8826715d98c11dbb09000919e (diff)
downloadfreebsd-ports-gnome-a30c0cdc05c39dacbb6de2ef1a82ef9989d86e7c.tar.gz
freebsd-ports-gnome-a30c0cdc05c39dacbb6de2ef1a82ef9989d86e7c.tar.zst
freebsd-ports-gnome-a30c0cdc05c39dacbb6de2ef1a82ef9989d86e7c.zip
Move pre-configure in the common part.
Spotted by: Maxim Maximov <mcsi@mcsi.pp.ru>
Diffstat (limited to 'databases/mysql55-server')
-rw-r--r--databases/mysql55-server/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile
index 702f3d9aa9b6..631e1c4bbc8d 100644
--- a/databases/mysql55-server/Makefile
+++ b/databases/mysql55-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>