From owner-freebsd-ports Mon Jan 7 8:20:15 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AF7A537B417 for ; Mon, 7 Jan 2002 08:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g07GK1k88547; Mon, 7 Jan 2002 08:20:01 -0800 (PST) (envelope-from gnats) Received: from shumai.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 039A137B405 for ; Mon, 7 Jan 2002 08:11:51 -0800 (PST) Received: (from marcus@localhost) by shumai.marcuscom.com (8.11.6/8.11.6) id g07GBt727567; Mon, 7 Jan 2002 11:11:55 -0500 (EST) (envelope-from marcus) Message-Id: <200201071611.g07GBt727567@shumai.marcuscom.com> Date: Mon, 7 Jan 2002 11:11:55 -0500 (EST) From: Joe Marcus Clarke Reply-To: Joe Marcus Clarke To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/33652: [MAINTAINER UPDATE] Fix CNID build in netatalk Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 <&6 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message