patches/afio-01-2.5.gcc.diff
author jurikm
Sun, 12 Feb 2012 14:04:10 +0000
changeset 8245 383896da4129
parent 505 d146303e26fd
permissions -rw-r--r--
SFEsauerbraten.spec: add IPS package name
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
505
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     1
diff -r 5294849045d2 Makefile
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     2
--- a/Makefile	Sun Aug 12 02:00:50 2007 +0530
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     3
+++ b/Makefile	Sun Aug 12 02:08:39 2007 +0530
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     4
@@ -71,7 +71,7 @@ MW=
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     5
 MW=
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     6
 #MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     7
 
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     8
-CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
     9
+CFLAGS1 = -Wall -Wstrict-prototypes -s -O3 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    10
 
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    11
 CC=gcc
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    12
 
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    13
@@ -88,8 +88,10 @@ clean:
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    14
 	cd regtest; /bin/sh regtest.clean
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    15
 
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    16
 install: afio
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    17
-	cp afio /usr/local/bin
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    18
-	cp afio.1 /usr/share/man/man1
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    19
+	mkdir -p $(DESTDIR)/$(PREFIX)/bin
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    20
+	mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man1
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    21
+	/usr/sbin/install -c $(DESTDIR)/$(PREFIX)/bin -m 0755 -u root -g bin afio
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    22
+	/usr/sbin/install -c $(DESTDIR)/$(PREFIX)/share/man/man1 -m 0644 -u root -g bin afio.1
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    23
 
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    24
 # generate default list of -E extensions from manpage
d146303e26fd Uploading the 29 spec outputs from the hackathon
opensoars
parents:
diff changeset
    25
 # note: on sun, I had to change awk command below to nawk or gawk