summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwennmach <wennmach@pkgsrc.org>2000-10-13 17:31:11 +0000
committerwennmach <wennmach@pkgsrc.org>2000-10-13 17:31:11 +0000
commit85a1841c1b07735e3dc6870d95a559d4c6d7bc13 (patch)
treec89a09b6d7ea02e4e4dbad915a85719dccab740c
parent474ecd60089bae47d0958bfde7f788b2469f013e (diff)
downloadpkgsrc-85a1841c1b07735e3dc6870d95a559d4c6d7bc13.tar.gz
Make arla compile on pmax.
-rw-r--r--net/arla/files/patch-sum3
-rw-r--r--net/arla/patches/patch-as26
2 files changed, 28 insertions, 1 deletions
diff --git a/net/arla/files/patch-sum b/net/arla/files/patch-sum
index 14ecaf2a4ee..aea87ff3153 100644
--- a/net/arla/files/patch-sum
+++ b/net/arla/files/patch-sum
@@ -1,4 +1,4 @@
-$NetBSD: patch-sum,v 1.8 2000/08/30 13:04:00 wennmach Exp $
+$NetBSD: patch-sum,v 1.9 2000/10/13 17:31:11 wennmach Exp $
MD5 (patch-aa) = e96c11332180783528b4f549cb7884a4
MD5 (patch-ab) = 380a7bf1be1293ef21eefdd8b6ca14bf
@@ -14,3 +14,4 @@ MD5 (patch-ao) = 2fa45b0737735d717ba682441677ebba
MD5 (patch-ap) = 166a4fe39980f1e67ae36f7189b5ce16
MD5 (patch-aq) = 515c59ff13d9941cbb8ce64f55e909ae
MD5 (patch-ar) = a7a5214d3ed360d81943dfbc68aaabdd
+MD5 (patch-as) = 20be7c0d85e10335af47eb2c6c0f0769
diff --git a/net/arla/patches/patch-as b/net/arla/patches/patch-as
new file mode 100644
index 00000000000..196dcd2181f
--- /dev/null
+++ b/net/arla/patches/patch-as
@@ -0,0 +1,26 @@
+$NetBSD: patch-as,v 1.1 2000/10/13 17:31:12 wennmach Exp $
+
+Make arla compile on pmax.
+
+--- configure.orig Sat Aug 19 22:54:10 2000
++++ configure Fri Oct 13 15:49:09 2000
+@@ -2998,9 +2998,18 @@
+ then
+ flags="$flags${flags:+ }-mno-fp-regs"
+ fi
++ if test `uname -m` = pmax
++ then
++ KERNEL_CFLAGS="${KERNEL_CFLAGS} -G 0 -mno-abicalls -mno-half-pic"
++ KERNEL_LDFLAGS="${KERNEL_LDFLAGS} -G 0 -Ttext 0x80030000 -T ${SYS}/arch/mips/conf/kern.ldscript"
++ fi
+ KERNEL_CPPFLAGS="${KERNEL_CPPFLAGS} $defs${defs:+ }$flags${flags:+ }$incl"
+- test_KERNEL_CFLAGS="${KERNEL_CFLAGS}"
+ KERNEL_LD='ld'
++ test_KERNEL_CFLAGS="${KERNEL_CFLAGS}"
++ if test `uname -m` = pmax
++ then
++ ac_kernel_ld='${KERNEL_LD} ${KERNEL_LDFLAGS} -o conftest $LDFLAGS -R $KERNEL conftest.o -e _foo 1>&5'
++ fi
+ XFS_SRCS='xfs_wrap-bsd.c xfs_common-bsd.c xfs_dev-common.c xfs_dev-bsd.c xfs_syscalls-common.c xfs_syscalls-wrap-bsd.c xfs_node-bsd.c xfs_vfsops-common.c xfs_vfsops-bsd.c xfs_vfsops-netbsd.c xfs_vnodeops-common.c xfs_vnodeops-bsd.c'
+ XFS_SUBDIR=bsd
+ KERNEL=/netbsd