summaryrefslogtreecommitdiff
blob: a20a0f4c3cfc3256a4ab57910252d376ec63148f (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
25
26
27
diff -ur -x '*~' lib/libpam/modules/Makefile.inc lib/libpam.gentoo/modules/Makefile.inc
--- lib/libpam/modules/Makefile.inc	2005-02-13 08:23:13.000000000 +0100
+++ lib/libpam.gentoo/modules/Makefile.inc	2005-06-04 20:48:26.560373440 +0200
@@ -1,22 +1,12 @@
 # $FreeBSD: src/lib/libpam/modules/Makefile.inc,v 1.15.6.1 2005/02/13 07:23:13 obrien Exp $
 
-PAMDIR=		${.CURDIR}/../../../../contrib/openpam
-
 NOINSTALLLIB=
 NOPROFILE=
 
-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)
-NOPIC=
-.else
 SHLIB_NAME?=	${LIB}.so.${SHLIB_MAJOR}
-DPADD+=		${LIBPAM}
 LDADD+=		-lpam
-.endif
 
 .include "../Makefile.inc"