summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorwiz <wiz>2002-06-16 21:45:45 +0000
committerwiz <wiz>2002-06-16 21:45:45 +0000
commitf17d0ff870a568add04c56055f65b35fe81ade10 (patch)
tree79aaba787b282b0bbbb177783763fb227ad05917 /databases
parentd8575aeed2eeef887405bb67e7b54e9bdf68d6b1 (diff)
downloadpkgsrc-f17d0ff870a568add04c56055f65b35fe81ade10.tar.gz
Add -Wl,-R${PREFIX}/lib/mysql to LDFLAGS, and thus to mysql_config's
--libs output. Proposed in pkg/17287 by Sergey Svishchev. Bump version to 3.23.49nb1.
Diffstat (limited to 'databases')
-rw-r--r--databases/mysql-client/Makefile3
-rw-r--r--databases/mysql-client/Makefile.common3
2 files changed, 4 insertions, 2 deletions
diff --git a/databases/mysql-client/Makefile b/databases/mysql-client/Makefile
index 450380f3bee..9ea09304057 100644
--- a/databases/mysql-client/Makefile
+++ b/databases/mysql-client/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.17 2002/02/18 15:14:06 seb Exp $
+# $NetBSD: Makefile,v 1.18 2002/06/16 21:45:45 wiz Exp $
#
.include "Makefile.common"
PKGNAME= ${DISTNAME:S/-/-client-/}
+PKGREVISION= 1
SVR4_PKGNAME= mysqc
COMMENT= MySQL, a free SQL database (client)
diff --git a/databases/mysql-client/Makefile.common b/databases/mysql-client/Makefile.common
index 3da54a13483..e12e91aa0b7 100644
--- a/databases/mysql-client/Makefile.common
+++ b/databases/mysql-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2002/03/18 14:17:38 martti Exp $
+# $NetBSD: Makefile.common,v 1.9 2002/06/16 21:45:45 wiz Exp $
DISTNAME= mysql-3.23.49
CATEGORIES= databases
@@ -36,6 +36,7 @@ CPPFLAGS+= -Dunix
USE_PERL5= # defined
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+LDFLAGS+= -Wl,-R${LOCALBASE}/lib/mysql
post-extract:
cd ${WRKSRC}; \