ports/devel/spin/files/patch-makefile
Pawel Pekala e9c505591d Fix build on FreeBSD 8.x and 9.x
PR:		195687
Submitted by:	maintainer
2014-12-15 21:44:59 +00:00

22 lines
649 B
Text

--- 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