diff options
author | is <is> | 2005-03-01 12:55:01 +0000 |
---|---|---|
committer | is <is> | 2005-03-01 12:55:01 +0000 |
commit | 7eb8b45a471aad608798b2aa3be16eb10f3b43f1 (patch) | |
tree | 959d40adeeb7d9f2c69e38d95b0eebe4371e439b /lang | |
parent | 3ab794b075806ca4ed96a2d639d21537a52f5f0b (diff) | |
download | pkgsrc-7eb8b45a471aad608798b2aa3be16eb10f3b43f1.tar.gz |
Make this actually link for non-i386, as intended.
Problem reported by Klaus J. Klein, Method suggested bei Nick Hudson.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/sr/patches/patch-at | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/lang/sr/patches/patch-at b/lang/sr/patches/patch-at index 9303969ea83..fb9571f9fdc 100644 --- a/lang/sr/patches/patch-at +++ b/lang/sr/patches/patch-at @@ -1,6 +1,6 @@ -$NetBSD: patch-at,v 1.1.1.1 2005/02/25 15:54:59 is Exp $ +$NetBSD: patch-at,v 1.2 2005/03/01 12:55:01 is Exp $ ---- csw/Makefile.orig 1999-07-30 07:01:50.000000000 +0200 +--- csw/Makefile.orig 1999-07-30 05:01:50.000000000 +0000 +++ csw/Makefile @@ -1,6 +1,6 @@ ## Makefile for the SR context switch routines. @@ -10,16 +10,7 @@ $NetBSD: patch-at,v 1.1.1.1 2005/02/25 15:54:59 is Exp $ SHELL = /bin/sh SRC = alpha.s ap3000.s bobcat.s encore.s i386.s m68k.s m88k.s mips.s \ -@@ -16,6 +16,8 @@ OKAY: cstest - cmp cstest.out cstest.stdout - echo "`date`: cstest passed" >OKAY - -+_context_u.o: ; ar xv /usr/lib/libpthread.a _context_u.o -+pthread_md.o: ; ar xv /usr/lib/libpthread.a pthread_md.o - - # cstest is the test program - -@@ -27,19 +29,15 @@ cstest: cstest.o asm.o +@@ -27,19 +27,15 @@ cstest: cstest.o asm.o # csloop is a timing program, built only on request csloop: csloop.o asm.o @@ -37,9 +28,9 @@ $NetBSD: patch-at,v 1.1.1.1 2005/02/25 15:54:59 is Exp $ - sed -e '/^ *$$/d' -e '/^#/'d -e 's/ :/:/' >asm.s - as -o asm.o asm.s - -+asm.o: netbsd.c pthread_md.o _context_u.o ++asm.o: netbsd.c + $(CC) $(CFLAGS) -c netbsd.c -+ $(LD) -r -o asm.o netbsd.o pthread_md.o _context_u.o ++ $(LD) -r -o asm.o netbsd.o /usr/lib/libpthread.a # miscellaneous utility targets |