libs for old g77 2.95.3
This commit is contained in:
parent
a12b97f54d
commit
eb8a429ba0
61
devel/libf2c-old/Makefile
Normal file
61
devel/libf2c-old/Makefile
Normal file
@ -0,0 +1,61 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2010/05/27 08:36:54 espie Exp $
|
||||
|
||||
V = 2.95.3
|
||||
CONFIG = ${MACHINE_ARCH}-unknown-openbsd${OSREV}
|
||||
SUBST_VARS += CONFIG V
|
||||
PKGNAME = libf2c-$V
|
||||
DISTFILES = libf2c-openbsd-$V.tgz
|
||||
MASTER_SITES = http://spacehopper.org/mirrors/
|
||||
|
||||
ONLY_FOR_ARCHS = ${GCC2_ARCHS}
|
||||
COMMENT = GNU fortran 77 libraries
|
||||
CATEGORIES = devel math
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
|
||||
MAJOR = 8
|
||||
MINOR = 0
|
||||
SHARED_LIBS = g2c ${MAJOR}.${MINOR}
|
||||
|
||||
WRKDIST = ${WRKDIR}/libf2c
|
||||
BUILD_DEPENDS = ::lang/g77-old:patch
|
||||
LIBIBERTY_INCLUDES = ${WRKDIR}/lang/g77-old/libiberty/include
|
||||
EGCS_DIR = ${WRKDIR}/lang/g77-old/g77
|
||||
|
||||
MAKE_FILE = ${WRKDIST}/Makefile.bsd-wrapper
|
||||
|
||||
post-extract:
|
||||
if test -e ${EGCS_DIR}/gcc; then \
|
||||
ln -sf ${EGCS_DIR}/gcc ${WRKDIR}/gcc; \
|
||||
else \
|
||||
exit 1; \
|
||||
fi
|
||||
ln -sf ${EGCS_DIR}/install-sh ${WRKDIR}/install-sh
|
||||
ln -sf ${EGCS_DIR}/config.sub ${WRKDIR}/config.sub
|
||||
ln -sf ${EGCS_DIR}/config.guess ${WRKDIR}/config.guess
|
||||
|
||||
do-configure:
|
||||
cd ${WRKDIST} && ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} obj
|
||||
cd ${WRKDIST} && ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} depend
|
||||
|
||||
MAKE_FLAGS = MANDIR=${TRUEPREFIX}/man/cat \
|
||||
INSTALL_LIBGCC= LIBGCC= \
|
||||
COMPILERS=f771 \
|
||||
USE_COLLECT2= \
|
||||
LIBDIR=${TRUEPREFIX}/lib \
|
||||
LIBIBERTY_INCLUDES=${LIBIBERTY_INCLUDES} \
|
||||
major=${MAJOR} minor=${MINOR}
|
||||
|
||||
post-install:
|
||||
cd ${WRKBUILD}/obj && ${INSTALL_DATA} g2c.h ${PREFIX}/include
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/lib/gcc-lib/${CONFIG}/$V
|
||||
.for i in libfrtbegin.a libfrtbegin_pic.a libfrtbegin_p.a libg2c.a \
|
||||
libg2c_p.a libg2c_pic.a libg2c.so.*
|
||||
if test -e ${TRUEPREFIX}/lib/$i; then \
|
||||
ln -sf ${TRUEPREFIX}/lib/$i ${PREFIX}/lib/gcc-lib/${CONFIG}/$V; \
|
||||
fi
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
10
devel/libf2c-old/distinfo
Normal file
10
devel/libf2c-old/distinfo
Normal file
@ -0,0 +1,10 @@
|
||||
MD5 (libf2c-openbsd-2.95.3.tgz) = mvIqGP5tQ1ontnF//JjXCg==
|
||||
MD5 (libiberty-openbsd.tgz) = WHqNyoI2toJt4z5iHIc23Q==
|
||||
RMD160 (libf2c-openbsd-2.95.3.tgz) = i3oyDI625pcbGUa2WgOdYzJxvPg=
|
||||
RMD160 (libiberty-openbsd.tgz) = YSPA4sN5Dd8DZ9g3feIg5qum63s=
|
||||
SHA1 (libf2c-openbsd-2.95.3.tgz) = uzYTfZFwNgGV7kqaUDqJQP38EkQ=
|
||||
SHA1 (libiberty-openbsd.tgz) = /JjLnsZV7TTmMI0Nk9rTYrBxjAk=
|
||||
SHA256 (libf2c-openbsd-2.95.3.tgz) = mcpzSOepDo3eFyTY5Shmhoszn7zkP21lEdDbX0T19p8=
|
||||
SHA256 (libiberty-openbsd.tgz) = 0LLdT251NyRZWLGF1G99GU+8XFgDXGQo8KXHWkzbIVQ=
|
||||
SIZE (libf2c-openbsd-2.95.3.tgz) = 242588
|
||||
SIZE (libiberty-openbsd.tgz) = 69547
|
12
devel/libf2c-old/patches/patch-Makefile_bsd-wrapper
Normal file
12
devel/libf2c-old/patches/patch-Makefile_bsd-wrapper
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-Makefile_bsd-wrapper,v 1.1.1.1 2010/05/27 08:36:54 espie Exp $
|
||||
--- Makefile.bsd-wrapper.orig Tue May 25 11:38:21 2010
|
||||
+++ Makefile.bsd-wrapper Tue May 25 11:38:43 2010
|
||||
@@ -139,7 +139,7 @@ all: config.status
|
||||
|
||||
config.status: Makefile.in configure
|
||||
mkdir -p libE77
|
||||
- cd ${.CURDIR}/../gcc && \
|
||||
+ cd ${EGCS_DIR}/gcc && \
|
||||
make -f Makefile.bsd-wrapper config.status tree-check.h
|
||||
# fake g771 existence
|
||||
cd $(EGCS_OBJDIR)/gcc && touch f771
|
1
devel/libf2c-old/pkg/DESCR
Normal file
1
devel/libf2c-old/pkg/DESCR
Normal file
@ -0,0 +1 @@
|
||||
fortran 77 libraries for gcc 2.95.3
|
2
devel/libf2c-old/pkg/PFRAG.shared
Normal file
2
devel/libf2c-old/pkg/PFRAG.shared
Normal file
@ -0,0 +1,2 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2010/05/27 08:36:54 espie Exp $
|
||||
@lib lib/libg2c.so.${LIBg2c_VERSION}
|
19
devel/libf2c-old/pkg/PLIST
Normal file
19
devel/libf2c-old/pkg/PLIST
Normal file
@ -0,0 +1,19 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2010/05/27 08:36:54 espie Exp $
|
||||
%%SHARED%%
|
||||
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.so.8.1
|
||||
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
|
Loading…
Reference in New Issue
Block a user