Date: Mon, 7 Jan 2002 11:11:55 -0500 (EST) From: Joe Marcus Clarke <marcus@marcuscom.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/33652: [MAINTAINER UPDATE] Fix CNID build in netatalk Message-ID: <200201071611.g07GBt727567@shumai.marcuscom.com>
next in thread | raw e-mail | index | archive | help
>Number: 33652 >Category: ports >Synopsis: [MAINTAINER UPDATE] Fix CNID build in netatalk >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jan 07 08:20:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Joe Marcus Clarke >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: MarcusCom, Inc. >Environment: System: FreeBSD shumai.marcuscom.com 4.5-PRERELEASE FreeBSD 4.5-PRERELEASE #0: Sun Jan 6 01:07:48 EST 2002 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386 >Description: Netatalk will fail to configure with WITH_CNID defined with the following error: configure:8269: cc -o conftest -O -pipe -I/usr/local/include/db3 -L/usr/local/lib conftest.c -ldb -lcrypt 1>&5 /usr/libexec/elf/ld: cannot find -ldb Also, fix a type with an .if statement. >How-To-Repeat: # cd /usr/ports/net/netatalk # make -DWITH_CNID >Fix: --- Makefile.orig Mon Jan 7 11:07:31 2002 +++ Makefile Mon Jan 7 10:59:21 2002 @@ -7,6 +7,7 @@ PORTNAME= netatalk PORTVERSION= 1.5.0 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net print MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} @@ -42,8 +43,8 @@ .if defined(WITH_FLOCK_LOCKS) # Disable byte locking, and do full file locking. This _may_ help with some # Quark Express save issues. -.endif CONFIGURE_ARGS+= --with-flock-locks +.endif .if defined(WITH_CNID) # Configure EXPERIMENTAL CNID DID support. This is an attmept to make # DIDs more persistent by using a Berkeley database to store the DID values. * FILES ADDED: files/patch-configure --- configure.orig Mon Jan 7 11:00:12 2002 +++ configure Mon Jan 7 11:00:34 2002 @@ -8249,14 +8249,14 @@ savedldflags="$LDFLAGS" CFLAGS="$CFLAGS -I$db3dir" LDFLAGS="-L$db3libdir $LDFLAGS" - echo $ac_n "checking for main in -ldb""... $ac_c" 1>&6 -echo "configure:8254: checking for main in -ldb" >&5 + echo $ac_n "checking for main in -ldb3""... $ac_c" 1>&6 +echo "configure:8254: checking for main in -ldb3" >&5 ac_lib_var=`echo db'_'main | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_save_LIBS="$LIBS" -LIBS="-ldb $LIBS" +LIBS="-ldb3 $LIBS" cat > conftest.$ac_ext <<EOF #line 8262 "configure" #include "confdefs.h" @@ -8283,7 +8283,7 @@ db3found=yes DB3_CFLAGS="-I$db3dir" - DB3_LIBS="-L$db3libdir -ldb" + DB3_LIBS="-L$db3libdir -ldb3" else echo "$ac_t""no" 1>&6 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200201071611.g07GBt727567>