pkgsrc-Bugs archive

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

pkg/43429: databases/sqlite3 doesn't buld on Mac OS X < 10.5



>Number:         43429
>Category:       pkg
>Synopsis:       databases/sqlite3 doesn't buld on Mac OS X < 10.5
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 07 14:10:00 +0000 2010
>Originator:     Edgar Fuß
>Release:        pkgsrc-2010Q1
>Organization:
Mathematisches Institut der Uni Bonn
>Description:
        Building databases/sqlite3 on Mac OS 10.4.11 fails with:
                ld: Undefined symbols:
                _gethostuuid
                /usr/bin/libtool: internal link edit command failed

>How-To-Repeat:
        cd databases/sqlite3; bmake build
>Fix:
        --- Makefile.orig       2010-06-06 16:01:38.000000000 +0200
        +++ Makefile    2010-06-07 16:02:57.000000000 +0200
        @@ -23,6 +23,12 @@
         INSTALLATION_DIRS+=    ${PKGMANDIR}/man1
         CONFIGURE_ARGS+=       --with-readline-inc= --enable-threadsafe
         
        +.include "../../mk/bsd.prefs.mk"
        +# Darwin < 9 (Mac OS X < 10.5 "Leopard") doesn't have gethostuuid(2)
        +.if ${OPSYS} == "Darwin" && !empty(OS_VERSION:M[0-8].*)
        +CFLAGS+=               -DSQLITE_ENABLE_LOCKING_STYLE=0
        +.endif 
        +
         # Uses dlopen and friends but doesn't use -ldl on Linux.
         # See http://www.sqlite.org/cvstrac/tktview?tn=3555
         LIBS+=                 ${BUILDLINK_LDADD.dl}



Home | Main Index | Thread Index | Old Index