- fix build on mips64
This commit is contained in:
parent
aa0b52f4e4
commit
1de45afd3f
@ -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
|
||||
|
2
math/colamd/pkg/PFRAG.no_mips64
Normal file
2
math/colamd/pkg/PFRAG.no_mips64
Normal 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
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user