diff options
author | tron <tron@pkgsrc.org> | 2006-05-19 23:01:02 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2006-05-19 23:01:02 +0000 |
commit | a28eb68a051db9eada5948425574b0ccd78def83 (patch) | |
tree | 27e7177002d5d97c7ac5a88674a0c34cc13ca33a | |
parent | a6950e88426e5f7d4e2f9d1433ba727504655fe6 (diff) | |
download | pkgsrc-a28eb68a051db9eada5948425574b0ccd78def83.tar.gz |
Fix build problem under Mac OS X by repairing broken OpenSSL (shared)
library detection.
-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" |