summaryrefslogtreecommitdiff
path: root/databases/mysql51-server
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-03-16 19:24:54 +0000
committerwiz <wiz@pkgsrc.org>2010-03-16 19:24:54 +0000
commit4b825c05d1012124bd5b538131d4ce796f23423b (patch)
treeffe7fa6aa40797da212a6bc206489ccd11b93a85 /databases/mysql51-server
parent6c79289865abdb7192c9be8cdd7b1d031864d6a3 (diff)
downloadpkgsrc-4b825c05d1012124bd5b538131d4ce796f23423b.tar.gz
Enable PIC compilation, needed for working mysql-embedded support
(and perhaps also on Solaris). Bump PKGREVISION. Ok taca@
Diffstat (limited to 'databases/mysql51-server')
-rw-r--r--databases/mysql51-server/DESCR1
-rw-r--r--databases/mysql51-server/Makefile5
2 files changed, 4 insertions, 2 deletions
diff --git a/databases/mysql51-server/DESCR b/databases/mysql51-server/DESCR
index d1551a0eafa..971baa82c25 100644
--- a/databases/mysql51-server/DESCR
+++ b/databases/mysql51-server/DESCR
@@ -14,4 +14,3 @@ The official way to pronounce 'MySQL' is 'My Ess Que Ell' (Not MY-SEQUEL).
This package contains the MySQL server programs and libraries including
embedded server (by PKG_OPTION).
-
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index d3c1b58c89f..703547099ec 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2010/03/04 16:28:57 taca Exp $
+# $NetBSD: Makefile,v 1.2 2010/03/16 19:24:54 wiz Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
+PKGREVISION= 1
SVR4_PKGNAME= mysqs
COMMENT= MySQL 5, a free SQL database (server)
@@ -21,6 +22,8 @@ CONFIGURE_ARGS+= --with-mysqld-user=${MYSQL_USER}
.if !empty(PKG_OPTIONS:Membedded-server)
CONFIGURE_ARGS+= --with-embedded-privilege-control
CONFIGURE_ARGS+= --with-embedded-server
+#CONFIGURE_ARGS+= --with-mysqld-ldflags=-all-static
+CONFIGURE_ARGS+= --with-pic
PLIST.embedded= yes
.endif