Dag-Erling Smorgrav wrote:
> 
> Maxim Sobolev <[EMAIL PROTECTED]> writes:
> > Dag-Erling Smorgrav wrote:
> > > Maxim Sobolev <[EMAIL PROTECTED]> writes:
> > > > Looks like source upgrade path is broken due to PAM. My system is -CURRENT
> > > > compiled on 19 February. Please fix.
> > > Please use 'make world' to upgrade your system.
> > I'm using `make world' (well buildworld, but it shouln't matter).
> 
> The error message you're reporting indicates that libpam is being
> built with the wrong headers.  This shouldn't happen during 'make
> world'.

Shit Happens[tm]. BTW, why you are ignoring system CFLAGS settings
(optimisations and such) for pam_unix? Please consider attached patch.

-Maxim
--- lib/libpam/modules/pam_unix/Makefile        2002/03/07 16:40:34     1.1
+++ lib/libpam/modules/pam_unix/Makefile        2002/03/07 16:40:45
@@ -27,7 +27,7 @@
 LIB=           pam_unix
 SHLIB_NAME=    ${LIB}.so.${SHLIB_MAJOR}
 SRCS=          pam_unix.c pw_copy.c pw_yp.c pw_util.c ypxfr_misc.c ${GENSRCS}
-CFLAGS=                -DYP -Dyp_error=warnx \
+CFLAGS+=       -DYP -Dyp_error=warnx \
                -I${.OBJDIR} \
                -I${.CURDIR}/../../../../libexec/ypxfr \
                -I${.CURDIR}/../../../../usr.sbin/vipw \

Reply via email to