diff options
author | steve <steve@FreeBSD.org> | 1998-09-27 16:12:57 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-27 16:12:57 +0800 |
commit | 64b92dc140b9c0cb7cfdee44e79f3179e0031eb6 (patch) | |
tree | ae3dce2957d224e434125a04ea03ab130f56618f /math | |
parent | cb059de381a920b321031a898bf6237d46d8ac47 (diff) | |
download | freebsd-ports-gnome-64b92dc140b9c0cb7cfdee44e79f3179e0031eb6.tar.gz freebsd-ports-gnome-64b92dc140b9c0cb7cfdee44e79f3179e0031eb6.tar.zst freebsd-ports-gnome-64b92dc140b9c0cb7cfdee44e79f3179e0031eb6.zip |
I tried to fix this port but it still fails to build complaining about
an undefined reference to MAIN__ /usr/lib/libf2c.so, so let's mark it
broken for ELF for now.
Diffstat (limited to 'math')
-rw-r--r-- | math/kaskade/Makefile | 4 | ||||
-rw-r--r-- | math/kaskade/files/patch-aa | 16 |
2 files changed, 13 insertions, 7 deletions
diff --git a/math/kaskade/Makefile b/math/kaskade/Makefile index dc536683c5b6..f3fcffd799d0 100644 --- a/math/kaskade/Makefile +++ b/math/kaskade/Makefile @@ -3,7 +3,7 @@ # Date created: 19 Sept. 1997 # Whom: Pedro Giffuni # -# $Id: Makefile,v 1.3 1997/11/26 23:10:55 jseger Exp $ +# $Id: Makefile,v 1.4 1998/08/05 09:30:45 asami Exp $ # DISTNAME= 3.1.1 @@ -14,6 +14,8 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= giffunip@asme.org +BROKEN_ELF= undefined reference to MAIN__ /usr/lib/libf2c.so + DIST_SUBDIR= kaskade WRKSRC= ${WRKDIR}/3.1 MAKEFILE= makefile diff --git a/math/kaskade/files/patch-aa b/math/kaskade/files/patch-aa index 09108ecf3940..f7e380b7e147 100644 --- a/math/kaskade/files/patch-aa +++ b/math/kaskade/files/patch-aa @@ -1,5 +1,5 @@ ---- makefile.orig Wed Sep 25 16:32:22 1996 -+++ makefile Mon Nov 17 11:36:27 1997 +--- makefile.orig Wed Sep 25 09:32:22 1996 ++++ makefile Fri Sep 25 15:22:12 1998 @@ -1,6 +1,6 @@ PURIFY = #purify PURELINK = #purelink @@ -8,7 +8,7 @@ LD = $(PURELINK) g++ #C++ = $(PURIFY) g++ -w -I/sgisoft/gnu/lib/g++-include # !!! SGI GNU 2.7.1 -@@ -18,25 +18,25 @@ +@@ -18,25 +18,29 @@ #FORFLAGS = -O -extend_source # SGI DEBFLAG = -g @@ -17,9 +17,13 @@ LIBS = -lX11 -lm $(F77LIBS) -#LIBDIR = /usr/X11/lib # PC LINUX, XFree86 3.1.1 -+LIBDIR = $(X11BASE)/lib # PC LINUX, XFree86 3.1.1 ++.if ${PORTOBJFORMAT} == "elf" ++LIBS+=-Wl,-rpath,$(X11BASE)/lib ++.endif -F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN ++LIBDIR = $(X11BASE)/lib # PC LINUX, XFree86 3.1.1 ++ +#F77LIBS = -L/opt/SUNWspro/SC4.0/lib -lF77 -lM77 -lsunmath -lsocket -lnsl # SUN #F77LIBS = -lftn # SGI #F77LIBS = -L/opt/SUNWspro/SC3.0/lib -lF77 -lM77 -lcomplex -lsunmath -lnsl -lsocket # SUN SC3.0 @@ -41,7 +45,7 @@ default: k6 -@@ -77,18 +77,18 @@ +@@ -77,18 +81,18 @@ FSources = ma28.f madc28.f # SUN / SGI: @@ -67,7 +71,7 @@ # IBM: #ma28.o: ma28.f sysmat.h sysmatml.h sysmatsp.h # $(FOR) -c -qextname $(FORFLAGS) ma28.f -@@ -224,12 +224,12 @@ +@@ -224,12 +228,12 @@ k3: $(k3O) $(LD) $(LDFLAGS) -o k3 $(k3O) $(LIBS) |