- fix build on mips64

This commit is contained in:
jasper 2010-06-14 07:15:10 +00:00
parent aa0b52f4e4
commit 1de45afd3f
3 changed files with 13 additions and 4 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2010/05/11 17:11:32 pirofti Exp $
# $OpenBSD: Makefile,v 1.2 2010/06/14 07:15:10 jasper Exp $
COMMENT = library for column approximate minimum degree ordering
DISTNAME = COLAMD-2.7.2
PKGNAME = ${DISTNAME:L}
PKGNAME = ${DISTNAME:L}p0
SHARED_LIBS += colamd 0.0
CATEGORIES = math
@ -32,6 +32,13 @@ FAKE_FLAGS = LIBDIR=${LOCALBASE}/lib DEBUGLIBS=no
MAKE_FILE= ${FILESDIR}/Makefile
# See bsd.lib.mk:162
.if ${MACHINE_ARCH:Mmips64*}
PKG_ARGS+= -Dno_mips64=0
.else
PKG_ARGS+= -Dno_mips64=1
.endif
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/include/colamd
${INSTALL_DATA} ${WRKDIST}/Include/colamd.h ${PREFIX}/include/colamd

View File

@ -0,0 +1,2 @@
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2010/06/14 07:15:10 jasper Exp $
lib/libcolamd_pic.a

View File

@ -1,8 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/05/11 17:11:32 pirofti Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/06/14 07:15:10 jasper Exp $
%%SHARED%%
include/colamd/
include/colamd/UFconfig.h
include/colamd/colamd.h
lib/libcolamd.a
lib/libcolamd_p.a
lib/libcolamd_pic.a
%%no_mips64%%