From owner-freebsd-ports Sat Apr 6 8:30:16 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 3A12A37B416 for ; Sat, 6 Apr 2002 08:30:02 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g36GU2q14028; Sat, 6 Apr 2002 08:30:02 -0800 (PST) (envelope-from gnats) Received: from nd250009.gab.xdsl.ne.jp (nd250009.gab.xdsl.ne.jp [61.202.250.9]) by hub.freebsd.org (Postfix) with ESMTP id AD79837B41A for ; Sat, 6 Apr 2002 08:27:45 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by nd250009.gab.xdsl.ne.jp (8.12.2/8.12.2/NinthNine) with ESMTP id g36GRiUg088487 for ; Sun, 7 Apr 2002 01:27:44 +0900 (JST) (envelope-from nork@ninth-nine.com) Received: (from nork@localhost) by localhost (8.12.2/8.12.2/Submit) id g36GRieE088486; Sun, 7 Apr 2002 01:27:44 +0900 (JST) (envelope-from nork) Message-Id: <200204061627.g36GRiUg088487@nd250009.gab.xdsl.ne.jp> Date: Sun, 7 Apr 2002 01:27:44 +0900 (JST) From: Norikatsu Shigemura Reply-To: Norikatsu Shigemura To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/36816: x11/wdm's configure intends to find -lpam with -ldl. 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: 36816 >Category: ports >Synopsis: x11/wdm's configure intends to find -lpam with -ldl. >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 06 08:30:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Norikatsu Shigemura >Release: FreeBSD 4.5-STABLE i386 >Organization: Ensure Technology Ltd. (http://www.ensure-tech.co.jp) >Environment: System: FreeBSD sakura.ninth-nine.com 4.5-STABLE FreeBSD 4.5-STABLE #81: Thu Mar 28 01:33:51 JST 2002 nork@sakura.ninth-nine.com:/usr/obj/usr/src/sys/SAKURA i386 >Description: /usr/ports/x11/wdm's configure intends to find -lpam with -ldl. But libdl.a(libdl.so) is not exist. >How-To-Repeat: make configure and read wdm-1.20/config.log. >Fix: patch-ag with `remove -ldl code'. --- patch-ag.diff begins here --- Index: patch-ag =================================================================== RCS file: /home/ncvs/ports/x11/wdm/files/patch-ag,v retrieving revision 1.4 diff -u -r1.4 patch-ag --- patch-ag 19 Mar 2000 02:30:45 -0000 1.4 +++ patch-ag 6 Apr 2002 15:41:22 -0000 @@ -1,17 +1,29 @@ ---- configure.in.orig Tue Sep 21 23:16:21 1999 -+++ configure.in Mon Nov 1 05:26:32 1999 -@@ -66,6 +66,10 @@ +--- configure.in.orig Tue Feb 29 18:40:50 2000 ++++ configure.in Sun Apr 7 00:41:07 2002 +@@ -50,9 +50,8 @@ + AM_CONDITIONAL(INSTALLPAM, test x$enable_pam = xyes) + + if test "$enable_pam" = yes; then +- AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam -ldl" +- AC_DEFINE_UNQUOTED(HAVE_PAM_LIB)], +- [],-ldl) ++ AC_CHECK_LIB(pam, main, [PASSWDLIB="-lpam" ++ AC_DEFINE_UNQUOTED(HAVE_PAM_LIB)]) + fi + + AC_ARG_WITH(pamdir, +@@ -66,6 +65,10 @@ AC_MSG_CHECKING(for pam directory $PAM_DIR_PATH) if test -d "$PAM_DIR_PATH"; then AC_MSG_RESULT(exists) + elif test -f "/etc/pam.conf"; then -+ AC_MSG_RESULT(using /etc/pam.conf) -+ PAMDIR=none -+ PAM_DIR_PATH=none ++ AC_MSG_RESULT(using /etc/pam.conf) ++ PAMDIR=none ++ PAM_DIR_PATH=none else AC_MSG_RESULT(does not exist) AC_MSG_WARN([this may not be a pam system <<--------------]) -@@ -183,7 +183,7 @@ +@@ -183,7 +186,7 @@ XLFLAGS="$X_LIBS" @@ -20,7 +32,7 @@ XDM_EXTRA_LIBS="-lXmu -lXau -lXdmcp" -@@ -504,7 +504,7 @@ +@@ -504,7 +507,7 @@ AC_DEFINE_UNQUOTED(WDMDIR,"$DMDIR") AC_DEFINE_UNQUOTED(DEF_XDM_CONFIG,"$DMDIR/wdm-config") AC_DEFINE_UNQUOTED(DEF_CHOOSER,"$DMDIR/chooser") --- patch-ag.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message