1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Enable PAM support.

Submitted by:	Carlos A M dos Santos <casantos@cpmet.ufpel.tche.br>
Reviewed by:	maintainer
This commit is contained in:
Satoshi Asami 2000-10-26 01:46:50 +00:00
parent f92095b090
commit 8086f52b78
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34244
3 changed files with 45 additions and 2 deletions

View File

@ -1,6 +1,14 @@
--- cf/FreeBSD.cf.orig Sun Jun 25 03:15:53 2000
+++ cf/FreeBSD.cf Sun Jul 16 18:22:14 2000
@@ -356,14 +356,14 @@
@@ -351,19 +356,22 @@
#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 */
#ifndef DefaultGcc2i386Opt
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)

View File

@ -19,7 +19,15 @@
/*
* This doesn't work the way it does on every other system. On FreeBSD it's
* only a "hint, not a demand", whatever that means. Note that this is not
@@ -356,14 +368,14 @@
@@ -351,19 +368,22 @@
#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 */
#ifndef DefaultGcc2i386Opt
#if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion > 1) || (OSMajorVersion == 2 && OSMinorVersion == 1 && OSTeenyVersion >= 5)

View File

@ -0,0 +1,27 @@
--- Original/xc/programs/xdm/Imakefile Tue Oct 24 12:53:55 2000
+++ 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)