pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/libgamin Fix build problem under Mac OS X.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/778d55fe9d1c
branches:  trunk
changeset: 556055:778d55fe9d1c
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon Mar 16 13:06:46 2009 +0000

description:
Fix build problem under Mac OS X.

diffstat:

 sysutils/libgamin/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r bf92bc228c20 -r 778d55fe9d1c sysutils/libgamin/Makefile
--- a/sysutils/libgamin/Makefile        Mon Mar 16 13:06:40 2009 +0000
+++ b/sysutils/libgamin/Makefile        Mon Mar 16 13:06:46 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/03/15 21:29:14 jmcneill Exp $
+# $NetBSD: Makefile,v 1.2 2009/03/16 13:06:46 tron Exp $
 
 .include "../../sysutils/gamin/Makefile.common"
 PKGNAME=       ${DISTNAME:S/^gamin/lib&/}
@@ -11,4 +11,10 @@
                ${INSTALL_DATA} $$file ${DESTDIR}${DOCDIR}/$$file;      \
        done
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin"
+BUILDLINK_TRANSFORM+=  rm:-Wl,--version-script=./gamin_sym.version
+.endif
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index