summaryrefslogtreecommitdiff
path: root/databases/mysql40-server
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-01-10 13:40:21 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-01-10 13:40:21 +0000
commit00b5c9dce1498c0bb1c0bd9fe36b7c019d27b5ea (patch)
tree8fd7910412628cc2bda8fffd0787113521ced860 /databases/mysql40-server
parentConditionally remove include/mysql. (diff)
Move pre-configure in the common part.
Spotted by: Maxim Maximov <mcsi@mcsi.pp.ru>
Notes
Notes: svn path=/head/; revision=126054
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 451c688a5806..4152d4cb202f 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>