- fix on mips64(el)

This commit is contained in:
jasper 2010-06-07 14:25:47 +00:00
parent 60f0c31ee6
commit 996540b1fe
3 changed files with 16 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2010/05/26 08:18:07 espie Exp $
# $OpenBSD: Makefile,v 1.6 2010/06/07 14:25:47 jasper Exp $
V = 3.3.5
CONFIG = ${MACHINE_ARCH}-unknown-openbsd${OSREV}
SUBST_VARS += CONFIG V
PKGNAME = libf2c-$Vp1
PKGNAME = libf2c-$Vp2
DISTFILES = libf2c-openbsd.tgz
MASTER_SITES = http://spacehopper.org/mirrors/
@ -22,6 +22,13 @@ SHARED_LIBS= g2c ${MAJOR}.${MINOR}
WRKDIST = ${WRKDIR}/libf2c
MAKE_FILE = ${WRKDIST}/Makefile.bsd-wrapper
# See bsd.lib.mk:162
.if ${MACHINE_ARCH:Mmips64*}
PKG_ARGS+= -Dno_mips64=0
.else
PKG_ARGS+= -Dno_mips64=1
.endif
do-configure:
cd ${WRKDIST} && ${MAKE} -f ${MAKE_FILE} ${MAKE_FLAGS} obj
cd ${WRKDIST} && ${MAKE} -f ${MAKE_FILE} ${MAKE_FLAGS} depend

View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PFRAG.no_mips64,v 1.1 2010/06/07 14:25:47 jasper Exp $
lib/gcc-lib/${CONFIG}/${V}/libfrtbegin_pic.a
lib/gcc-lib/${CONFIG}/${V}/libg2c_pic.a
lib/libfrtbegin_pic.a
lib/libg2c_pic.a

View File

@ -1,18 +1,15 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/05/24 22:42:08 espie Exp $
@comment $OpenBSD: PLIST,v 1.2 2010/06/07 14:25:47 jasper Exp $
%%SHARED%%
%%no_mips64%%
include/g2c.h
lib/gcc-lib/
lib/gcc-lib/${CONFIG}/
lib/gcc-lib/${CONFIG}/${V}/
lib/gcc-lib/${CONFIG}/${V}/libfrtbegin.a
lib/gcc-lib/${CONFIG}/${V}/libfrtbegin_p.a
lib/gcc-lib/${CONFIG}/${V}/libfrtbegin_pic.a
lib/gcc-lib/${CONFIG}/${V}/libg2c.a
lib/gcc-lib/${CONFIG}/${V}/libg2c_p.a
lib/gcc-lib/${CONFIG}/${V}/libg2c_pic.a
lib/libfrtbegin.a
lib/libfrtbegin_p.a
lib/libfrtbegin_pic.a
lib/libg2c.a
lib/libg2c_p.a
lib/libg2c_pic.a