- fix for mips64

This commit is contained in:
jasper 2010-03-21 10:54:46 +00:00
parent d5db5e92da
commit 274bf0b6b1
3 changed files with 14 additions and 4 deletions

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.7 2008/11/22 14:05:37 uwe Exp $
# $OpenBSD: Makefile,v 1.8 2010/03/21 10:54:46 jasper Exp $
COMMENT= bluetooth network libraries
DISTNAME= bluetooth-libs-20081122
PKGNAME= ${DISTNAME}p0
SHARED_LIBS= bluetooth 2.0 \
sdp 2.1
@ -23,6 +24,13 @@ MAKE_ENV= LIBDIR=${TRUEPREFIX}/lib \
FAKE_FLAGS= DEBUGLIBS=No
NO_REGRESS= Yes
# See bsd.lib.mk:162
.if ${MACHINE_ARCH:Mmips64*}
PKG_ARGS+= -Dno_mips64=0
.else
PKG_ARGS+= -Dno_mips64=1
.endif
pre-build:
@perl -pi -e "s,/etc,${SYSCONFDIR},g" \
${WRKSRC}/libbluetooth/*.[ch3] \

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2010/03/21 10:54:46 jasper Exp $
lib/libbluetooth_pic.a
lib/libsdp_pic.a

View File

@ -1,13 +1,12 @@
@comment $OpenBSD: PLIST,v 1.2 2007/06/06 21:12:23 uwe Exp $
@comment $OpenBSD: PLIST,v 1.3 2010/03/21 10:54:46 jasper Exp $
%%SHARED%%
%%no_mips64%%
include/bluetooth.h
include/sdp.h
lib/libbluetooth.a
lib/libbluetooth_p.a
lib/libbluetooth_pic.a
lib/libsdp.a
lib/libsdp_p.a
lib/libsdp_pic.a
@man man/cat3/SDP_GET128.0
@man man/cat3/SDP_GET16.0
@man man/cat3/SDP_GET32.0