summaryrefslogtreecommitdiff
path: root/devel/ffcall/patches/patch-aa
blob: eacb0b7ee18d19e4472fdf4c80476fc6376fcc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-aa,v 1.1 2003/03/06 23:50:52 jmc Exp $

--- ./avcall/Makefile.in.orig	Thu Mar  6 23:11:35 2003
+++ ./avcall/Makefile.in	Thu Mar  6 23:15:52 2003
@@ -116,12 +116,12 @@
 	case "$(OS)" in \
 	  aix3*) syntax=aix.old;; \
 	  aix*) syntax=aix.new;; \
-	  linux*) syntax=linux;; \
+	  linux* | netbsd* ) syntax=linux;; \
 	  *) syntax=sysv4;; \
 	esac; \
 	$(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-rs6000-$${syntax}.s ; \
-	cp avcall-rs6000-$${syntax}.lo avcall-rs6000.lo ; rm -f avcall-rs6000-$${syntax}.lo ; \
-	if test -f avcall-rs6000-$${syntax}.o; then mv avcall-rs6000-$${syntax}.o avcall-rs6000.o; fi
+	cp avcall-rs6000-$${syntax}.lo avcall-rs6000.lo ; \
+	if test -f avcall-rs6000-$${syntax}.o; then cp avcall-rs6000-$${syntax}.o avcall-rs6000.o; fi
 
 avcall-m88k.lo : $(srcdir)/avcall-m88k.s
 	$(LIBTOOL_COMPILE) $(CC) @GCC_X_NONE@ -c $(srcdir)/avcall-m88k.s