diff options
author | tron <tron> | 2006-05-19 23:01:02 +0000 |
---|---|---|
committer | tron <tron> | 2006-05-19 23:01:02 +0000 |
commit | 2dfd5cb8fa7362088575d374e361fd25606597b8 (patch) | |
tree | 27e7177002d5d97c7ac5a88674a0c34cc13ca33a /databases/mysql5-client | |
parent | ecc0cbeb5c57ec8c6f4a8e9f289e3fffb3bc2bcd (diff) | |
download | pkgsrc-2dfd5cb8fa7362088575d374e361fd25606597b8.tar.gz |
Fix build problem under Mac OS X by repairing broken OpenSSL (shared)
library detection.
Diffstat (limited to 'databases/mysql5-client')
-rw-r--r-- | databases/mysql5-client/Makefile.common | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/databases/mysql5-client/Makefile.common b/databases/mysql5-client/Makefile.common index a0986836f0e..b639ea90f35 100644 --- a/databases/mysql5-client/Makefile.common +++ b/databases/mysql5-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.11 2006/05/18 16:11:15 cube Exp $ +# $NetBSD: Makefile.common,v 1.12 2006/05/19 23:01:02 tron Exp $ DISTNAME= mysql-5.0.21 CATEGORIES= databases @@ -120,5 +120,13 @@ SUBST_FILES.sem= configure SUBST_SED.sem= -e "s|-lposix4|-lrt|g" .endif +# Fix broken shared library detection under Mac OS X +.if ${OPSYS} == Darwin +SUBST_CLASSES+= dylib +SUBST_STAGE.dylib= post-patch +SUBST_FILES.dylib= configure +SUBST_SED.dylib= -e "s|\\\$$shrext_cmds|\\.dylib|g" +.endif + .include "../../security/openssl/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" |