diff options
author | tron <tron> | 2006-05-19 23:01:02 +0000 |
---|---|---|
committer | tron <tron> | 2006-05-19 23:01:02 +0000 |
commit | ae8f762c111ef6e86f4bd75b47e35835cff657ca (patch) | |
tree | 27e7177002d5d97c7ac5a88674a0c34cc13ca33a /databases/mysql5-client | |
parent | 8033312f7ba14b039666614edf5c01031f1a753a (diff) | |
download | pkgsrc-ae8f762c111ef6e86f4bd75b47e35835cff657ca.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" |