Add missing USE_BUILDLINK3 and change
references to use buildlink3.mk. Bump package revision so my new packages will know that PAM and libcrack are dependencies. (This still needs to be updated to 4.0.4.)
This commit is contained in:
parent
92f6dbe53f
commit
b26fbec6ff
1 changed files with 5 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.3 2003/12/30 20:22:16 jeremy-c-reed Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2004/04/07 20:26:53 jeremy-c-reed Exp $
|
||||
|
||||
DISTNAME= shadow-4.0.3
|
||||
PKGREVISION= 2
|
||||
PKGREVISION= 3
|
||||
CATEGORIES= sysutils devel
|
||||
MASTER_SITES= ftp://ftp.pld.org.pl/software/shadow/
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
@ -12,21 +12,20 @@ COMMENT= User administration and passwd database tools for Linux
|
|||
|
||||
ONLY_FOR_PLATFORM= Linux-*-* # Linux shadow format
|
||||
|
||||
USE_BUILDLINK3= YES
|
||||
GNU_CONFIGURE= YES
|
||||
# because the ./configure sets it to PREFIX/share/man
|
||||
CONFIGURE_ARGS+= --mandir=${PREFIX}/man
|
||||
|
||||
.include "../../mk/bsd.prefs.mk"
|
||||
|
||||
.if defined(USE_PAM)
|
||||
CONFIGURE_ARGS+= --with-libpam
|
||||
.include "../../security/PAM/buildlink2.mk"
|
||||
.include "../../security/PAM/buildlink3.mk"
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-libpam
|
||||
.endif
|
||||
|
||||
.if ${USE_LIBCRACK} == YES
|
||||
. include "../../security/libcrack/buildlink2.mk"
|
||||
. include "../../security/libcrack/buildlink3.mk"
|
||||
CONFIGURE_ARGS+= --with-libcrack
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-libcrack
|
||||
|
|
Loading…
Reference in a new issue