Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2002 01:27:44 +0900 (JST)
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36816: x11/wdm's configure intends to find -lpam with -ldl.
Message-ID:  <200204061627.g36GRiUg088487@nd250009.gab.xdsl.ne.jp>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204061627.g36GRiUg088487>