NOPAM -> NO_PAM

This commit is contained in:
Ruslan Ermilov 2004-12-21 12:49:24 +00:00
parent 8340281fb1
commit b5b0bba4df
8 changed files with 10 additions and 6 deletions

View File

@ -26,7 +26,7 @@ CFLAGS+=-Dmain=ls_main -I${.CURDIR}/${LSDIR}
DPADD+= ${LIBM}
LDADD+= -lm
.if !defined(NOPAM)
.if !defined(NO_PAM)
CFLAGS+=-DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}

View File

@ -30,7 +30,7 @@ CFLAGS+= -DUSE_OPIE -DLOGIN_CAP
DPADD+= ${LIBOPIE} ${LIBMD}
LDADD+= -lopie -lmd
.if !defined(NOPAM)
.if !defined(NO_PAM)
CFLAGS+= -DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}

View File

@ -18,7 +18,7 @@
# Default build options. Basically tell the Makefiles which understand
# that to use the most compact possible version of the code.
#
buildopts -DNOPAM -DRELEASE_CRUNCH -DPPP_NO_NETGRAPH -DPPP_NO_PAM -DTRACEROUTE_NO_IPSEC -DNO_INET6
buildopts -DNO_PAM -DRELEASE_CRUNCH -DPPP_NO_NETGRAPH -DTRACEROUTE_NO_IPSEC -DNO_INET6
# directories where to look for sources of various binaries.
# @__CWD__@ is a magic keyword in the picobsd's (Makefile.conf)

View File

@ -12,7 +12,7 @@ CFLAGS+=-DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
.if !defined(NOPAM)
.if !defined(NO_PAM)
CFLAGS+= -DUSE_PAM
DPADD+= ${LIBPAM}
LDADD+= ${MINUSLPAM}

View File

@ -1,7 +1,7 @@
# From: @(#)Makefile 8.3 (Berkeley) 4/2/94
# $FreeBSD$
# Only NOPAM is used by PicoBSD and supported here
# Only NO_PAM is used by PicoBSD and supported here
PROG= passwd

View File

@ -255,7 +255,7 @@ We can pass build options to those makefiles which understand
that, in order to reduce the size of the programs.
This is achieved with a line of the form
.Pp
.Dl "buildopts -DNOPAM -DRELEASE_CRUNCH ..."
.Dl "buildopts -DNO_PAM -DRELEASE_CRUNCH ..."
.It
When providing the list of directories where source files are, it
is convenient to list the following entry first:

View File

@ -24,6 +24,7 @@
NOMANCOMPRESS:NO_MANCOMPRESS \
NOMLINKS:NO_MLINKS \
NOOBJ:NO_OBJ \
NOPAM:NO_PAM \
NOPIC:NO_PIC \
NOPROFILE:NO_PROFILE \
NOSHARE:NO_SHARE \

View File

@ -27,6 +27,9 @@ PPP_NO_ATM=
.if defined(NO_I4B)
PPP_NO_I4B=
.endif
.if defined(NO_PAM)
PPP_NO_PAM=
.endif
.if defined(PPP_NO_SUID)
BINMODE=550