Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2000 12:52:45 +0000 (GMT)
From:      Carlos A M dos Santos <casantos@cpmet.ufpel.tche.br>
To:        Satoshi - Ports Wraith - Asami <asami@FreeBSD.ORG>
Cc:        kris@FreeBSD.ORG, ports@FreeBSD.ORG, qa@FreeBSD.ORG, taguchi@tohoku.iij.ad.jp
Subject:   Re: Making XFree86-4 the default
Message-ID:  <Pine.BSF.4.21.0010241252140.377-100000@gate.cpmet.ufpel.tche.br>
In-Reply-To: <200010241218.e9OCIUa05307@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Oct 2000, Satoshi - Ports Wraith - Asami wrote:

> Does anyone know the status of PAM support in XFree86-4?
> 
> Satoshi


Try this:

--- Original/xc/config/cf/FreeBSD.cf	Mon Sep  4 13:33:26 2000
+++ xc/config/cf/FreeBSD.cf	Tue Oct 24 12:44:59 2000
@@ -358,6 +408,9 @@
 #else
 #define ServerOSDefines		XFree86ServerOSDefines -DDDXTIME -DXNO_SYSCONF
 #define XawI18nDefines		-DUSE_XWCHAR_STRING -DUSE_XMBTOWC
+#endif
+#ifndef HasPam
+#define HasPam			YES
 #endif
 
 /* The GCC strength-reduce bug is fixed for FreeBSD 2.1.5 and later */
--- Original/xc/programs/xdm/Imakefile	Tue Oct 24 12:53:55 2000
+++ xc/programs/xdm/Imakefile	Tue Oct 24 12:52:46 2000
@@ -75,11 +75,6 @@
 PWD_DEFINES = -DUSESHADOW -DSHADOWSUITE
 #endif
 
-#if HasPam
-PAM_LIBRARIES = -lpam DlLibrary
-PAM_DEFINES = -DUSE_PAM
-#endif
-
 #if !defined(i386IscArchitecture) && !defined(i386ScoArchitecture) && !defined(LinuxArchitecture) && !defined(NTOArchitecture) && !defined(SGIArchitecture)
 SYS_LIBRARIES3 = -lresolv
 #endif
@@ -89,6 +84,11 @@
 #if defined(LinuxArchitecture) && (!UseElfFormat || LinuxShadowSuite)
 SYS_LIBRARIES1 = -lshadow
 #endif
+#endif
+
+#if HasPam
+PAM_LIBRARIES = -lpam DlLibrary
+PAM_DEFINES = -DUSE_PAM
 #endif
 
 #if defined(UltrixArchitecture)
  
--
Carlos A. M. dos Santos

Federal University of Pelotas         Meteorological Research Center
Av. Ildefonso Simoes Lopes 2791       Pelotas, RS, Brasil, CEP 96060-290
WWW: http://www.cpmet.ufpel.tche.br   RENPAC (X.25): 153231641
Phone: +55 53 277-6767                FAX: +55 53 277-6722



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010241252140.377-100000>