- fix build on mips64*
This commit is contained in:
parent
eddfe1e804
commit
8d871a191a
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2010/10/20 15:23:04 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2010/12/30 09:01:09 jasper Exp $
|
||||
|
||||
COMMENT = hide awful SSL API in a sane interface
|
||||
V = 0.9.1
|
||||
REVISION = 0
|
||||
EPOCH= 0
|
||||
DISTNAME = assl-${V}
|
||||
|
||||
@ -26,6 +27,14 @@ NO_REGRESS = Yes
|
||||
EG_DIR = ${PREFIX}/share/examples/assl
|
||||
MAKE_FLAGS= PREFIX=${LOCALBASE}
|
||||
|
||||
.if ${MACHINE_ARCH:Mmips64*}
|
||||
EXTRA_CFLAGS= -D__BUILTIN_HACK
|
||||
# See bsd.lib.mk:162
|
||||
PKG_ARGS+= -Dno_mips64=0
|
||||
.else
|
||||
PKG_ARGS+= -Dno_mips64=1
|
||||
.endif
|
||||
|
||||
do-configure:
|
||||
printf "major=${LIBassl_VERSION:R}\nminor=${LIBassl_VERSION:E}\n" \
|
||||
> ${WRKSRC}/shlib_version
|
||||
|
2
security/assl/pkg/PFRAG.no_mips64
Normal file
2
security/assl/pkg/PFRAG.no_mips64
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2010/12/30 09:01:09 jasper Exp $
|
||||
lib/libassl_pic.a
|
@ -1,9 +1,9 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2010/09/28 21:14:56 ckuethe Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2010/12/30 09:01:09 jasper Exp $
|
||||
include/assl.h
|
||||
lib/libassl.a
|
||||
%%SHARED%%
|
||||
lib/libassl_p.a
|
||||
lib/libassl_pic.a
|
||||
%%no_mips64%%
|
||||
@man man/cat3/assl.0
|
||||
@man man/cat3/assl_accept.0
|
||||
@man man/cat3/assl_alloc_context.0
|
||||
|
Loading…
Reference in New Issue
Block a user