diff options
author | pawel <pawel@FreeBSD.org> | 2014-12-16 05:44:59 +0800 |
---|---|---|
committer | pawel <pawel@FreeBSD.org> | 2014-12-16 05:44:59 +0800 |
commit | bc65ef4fd2e7c6fd835ca1f8cd5f6fec0fffcf3c (patch) | |
tree | ab20b9bbe1024959501311ef50040fb73389aab8 /devel | |
parent | af6236d18181bec2aab0fd6a90ea1f77e9932b3e (diff) | |
download | freebsd-ports-graphics-bc65ef4fd2e7c6fd835ca1f8cd5f6fec0fffcf3c.tar.gz freebsd-ports-graphics-bc65ef4fd2e7c6fd835ca1f8cd5f6fec0fffcf3c.tar.zst freebsd-ports-graphics-bc65ef4fd2e7c6fd835ca1f8cd5f6fec0fffcf3c.zip |
Fix build on FreeBSD 8.x and 9.x
PR: 195687
Submitted by: maintainer
Diffstat (limited to 'devel')
-rw-r--r-- | devel/spin/files/patch-makefile | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/spin/files/patch-makefile b/devel/spin/files/patch-makefile new file mode 100644 index 00000000000..0cdf222e559 --- /dev/null +++ b/devel/spin/files/patch-makefile @@ -0,0 +1,22 @@ +--- makefile.orig 2014-12-04 21:53:19 UTC ++++ makefile +@@ -17,10 +17,6 @@ CC=gcc + # CC=gcc -m32 # 32bit compilation on a 64bit system + + CFLAGS=-O2 -DNXT # on some systems add: -I/usr/include +- # on a PC: add -DPC +- # on Solaris: add -DSOLARIS +- # on a Mac: add -DMAC +- # on HP-UX: add -Aa + + # CFLAGS=-pg -g -DNXT + +@@ -30,8 +26,6 @@ PICKY=-std=c99 -Wstrict-prototypes -peda + -Wcast-qual -Winline -Wall + + # when running spin with a different compiler: +- # on OS2: spin -Picc -E/Pd+ -E/Q+ +- # for Visual C++: spin -PCL -E/E + + YACC=yacc # on Solaris: /usr/ccs/bin/yacc + YFLAGS=-v -d # creates y.output and y.tab.h |