fix packaging on mips64*

ok robert@ (MAINTAINER)
This commit is contained in:
jasper 2011-10-19 13:53:57 +00:00
parent 044fb677fb
commit 821ebc2672
3 changed files with 13 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2011/01/19 12:09:04 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.4 2011/10/19 13:53:57 jasper Exp $
COMMENT= dummy Pluggable Authentication Modules (PAM)
@ -7,7 +7,7 @@ SHARED_LIBS+= pam 5.0
DISTNAME= libdpam-20110117
CATEGORIES= security
REVISION= 0
REVISION= 1
MAINTAINER= Robert Nagy <robert@openbsd.org>
@ -27,6 +27,13 @@ NO_REGRESS= Yes
MAKE_FLAGS= LIBDIR="${TRUEPREFIX}/lib" \
INCSDIR="${TRUEPREFIX}/include"
# See bsd.lib.mk:162
.if ${MACHINE_ARCH:Mmips64*}
PKG_ARGS+= -Dno_mips64=0
.else
PKG_ARGS+= -Dno_mips64=1
.endif
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/security

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2011/10/19 13:53:57 jasper Exp $
lib/libpam_pic.a

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2011/01/17 22:02:02 robert Exp $
@comment $OpenBSD: PLIST,v 1.2 2011/10/19 13:53:57 jasper Exp $
%%SHARED%%
include/security/
include/security/dummypam.h
@ -11,4 +11,4 @@ include/security/pam_modules.h
include/security/pam_types.h
lib/libpam.a
lib/libpam_p.a
lib/libpam_pic.a
%%no_mips64%%