From owner-freebsd-ports Tue Oct 24 5:50:51 2000 Delivered-To: freebsd-ports@freebsd.org Received: from gate.cpmet.ufpel.tche.br (unknown [200.248.148.33]) by hub.freebsd.org (Postfix) with ESMTP id 98B8637B479; Tue, 24 Oct 2000 05:50:41 -0700 (PDT) Received: from localhost (casantos@localhost) by gate.cpmet.ufpel.tche.br (8.9.3/8.9.3) with ESMTP id MAA01696; Tue, 24 Oct 2000 12:52:45 GMT (envelope-from casantos@cpmet.ufpel.tche.br) X-Authentication-Warning: gate.cpmet.ufpel.tche.br: casantos owned process doing -bs Date: Tue, 24 Oct 2000 12:52:45 +0000 (GMT) From: Carlos A M dos Santos To: Satoshi - Ports Wraith - Asami Cc: kris@FreeBSD.ORG, ports@FreeBSD.ORG, qa@FreeBSD.ORG, taguchi@tohoku.iij.ad.jp Subject: Re: Making XFree86-4 the default In-Reply-To: <200010241218.e9OCIUa05307@silvia.hip.berkeley.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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-ports" in the body of the message