diff options
author | wennmach <wennmach@pkgsrc.org> | 2000-10-13 17:31:11 +0000 |
---|---|---|
committer | wennmach <wennmach@pkgsrc.org> | 2000-10-13 17:31:11 +0000 |
commit | 85a1841c1b07735e3dc6870d95a559d4c6d7bc13 (patch) | |
tree | c89a09b6d7ea02e4e4dbad915a85719dccab740c /net/arla/patches | |
parent | 474ecd60089bae47d0958bfde7f788b2469f013e (diff) | |
download | pkgsrc-85a1841c1b07735e3dc6870d95a559d4c6d7bc13.tar.gz |
Make arla compile on pmax.
Diffstat (limited to 'net/arla/patches')
-rw-r--r-- | net/arla/patches/patch-as | 26 |
1 files changed, 26 insertions, 0 deletions
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 |