diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-09 16:16:56 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2003-02-09 16:16:56 +0000 |
commit | 21473236f52cb54289b21dacb6fbcea552b800cc (patch) | |
tree | f38b9059a4dfedfc48f7a42b3e95e281781e1215 /security/PAM/Makefile | |
parent | fd83bf2d0acf20f5db10049649d2199fffbb6c9d (diff) | |
download | pkgsrc-21473236f52cb54289b21dacb6fbcea552b800cc.tar.gz |
fix compilation problems on systems that don't have ldconfig.
Diffstat (limited to 'security/PAM/Makefile')
-rw-r--r-- | security/PAM/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/security/PAM/Makefile b/security/PAM/Makefile index 59ca046b3a9..6814b245080 100644 --- a/security/PAM/Makefile +++ b/security/PAM/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2003/01/28 22:04:03 jlam Exp $ +# $NetBSD: Makefile,v 1.14 2003/02/09 16:16:56 dmcmahill Exp $ # DISTNAME= Linux-${PKGNAME} @@ -30,6 +30,11 @@ CONFIGURE_ENV+= ac_cv_prog_HAVE_PS2PDF=no .include "../../mk/bsd.prefs.mk" +.if defined(LDCONFIG) && !exists(${LDCONFIG}) +LDCONFIG= +.endif +MAKE_ENV+= PKG_LDCONFIG=${LDCONFIG} + .if !empty(OPSYS:M*BSD) CFLAGS+= -DUSE_GETLOGIN=1 .endif |