diff options
author | snj <snj> | 2005-09-10 07:47:20 +0000 |
---|---|---|
committer | snj <snj> | 2005-09-10 07:47:20 +0000 |
commit | 8eecdbe44d48b5ba3ac896117043ea0c399be0e9 (patch) | |
tree | 11c5b8da39f541201367d9f9862144e3b2cb1525 | |
parent | 604f4bf5df0eca584b1a8faced82155874b3d6f4 (diff) | |
download | pkgsrc-8eecdbe44d48b5ba3ac896117043ea0c399be0e9.tar.gz |
Pullup ticket 751 - requested by Lubomir Sedlacik
build fix for PAM
Revision pulled up:
- pkgsrc/security/PAM/Makefile 1.35
Module Name: pkgsrc
Committed By: salo
Date: Thu Sep 8 21:57:56 UTC 2005
Modified Files:
pkgsrc/security/PAM: Makefile
Log Message:
Define USE_GETLOGIN for preprocessor instead so it later just DTRT.
Should fix PR pkg/30965
(the same issue was uncovered while working on a pullup ticket #738)
-rw-r--r-- | security/PAM/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/security/PAM/Makefile b/security/PAM/Makefile index 1ccfbb0de98..f04a0b55253 100644 --- a/security/PAM/Makefile +++ b/security/PAM/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2005/05/31 10:01:39 dillo Exp $ +# $NetBSD: Makefile,v 1.34.2.1 2005/09/10 07:47:20 snj Exp $ # DISTNAME= Linux-PAM-0.77 @@ -58,9 +58,8 @@ PLIST_SUBST+= USE_LIBCRACK="@comment " .endif .if !empty(OPSYS:M*BSD) -CFLAGS+= -DUSE_GETLOGIN=1 +CPPFLAGS+= -DUSE_GETLOGIN=1 .endif -MAKE_FLAGS+= OS_CFLAGS="${CFLAGS}" # pam_userdb uses ndbm if it finds it, otherwise it will use Berkeley DB. .if !exists(/usr/include/ndbm.h) |