summaryrefslogtreecommitdiff
blob: ce1a7fbff8c65c839d8e987fe0dbfca1534e0536 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Index: fbsd-6.0/lib/libpam/modules/Makefile.inc
===================================================================
--- fbsd-6.0.orig/lib/libpam/modules/Makefile.inc
+++ fbsd-6.0/lib/libpam/modules/Makefile.inc
@@ -5,18 +5,10 @@ PAMDIR=		${.CURDIR}/../../../../contrib/
 NO_INSTALLLIB=
 NO_PROFILE=
 
-CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
+CFLAGS+= -I${.CURDIR}/../../libpam
 WARNS?=	4
 
-# This is nasty.
-# For the static case, libpam.a depends on the modules.
-# For the dynamic case, the modules depend on libpam.so.N
-.if defined(_NO_LIBPAM_SO_YET)
-NO_PIC=
-.else
 SHLIB_NAME?=	${LIB}.so.${SHLIB_MAJOR}
-DPADD+=		${LIBPAM}
 LDADD+=		-lpam
-.endif
 
 .include "../Makefile.inc"