summaryrefslogtreecommitdiff
path: root/cad/kaskade
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-27 08:12:57 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-27 08:12:57 +0000
commit266aa180cd6f911898faa1a79babb395711cf45b (patch)
tree58dceabe07c276295c5bdabcecc2938939ccfd08 /cad/kaskade
parentoriginal package updated (0.84) (diff)
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.
Notes
Notes: svn path=/head/; revision=13447
Diffstat (limited to 'cad/kaskade')
-rw-r--r--cad/kaskade/Makefile4
-rw-r--r--cad/kaskade/files/patch-aa16
2 files changed, 13 insertions, 7 deletions
diff --git a/cad/kaskade/Makefile b/cad/kaskade/Makefile
index dc536683c5b6..f3fcffd799d0 100644
--- a/cad/kaskade/Makefile
+++ b/cad/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/cad/kaskade/files/patch-aa b/cad/kaskade/files/patch-aa
index 09108ecf3940..f7e380b7e147 100644
--- a/cad/kaskade/files/patch-aa
+++ b/cad/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)