1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/devel/as31/files/patch-Makefile
Alexey Dokuchaev 880b740272 - Unbreak parallel builds (-jX): their makefile has a "bison" rule which
outputs two files and is triggered twice; use GNU make(1) with ordered
  prerequisites to avoid this race
- Revert r143367 (and drop MAKE_ARGS) since we now need a patch anyways
- While here, convert to OptionsNG, tighten COMMENT, sort the knobs, etc.
- Reformat port description

Reported by:	marino
2013-08-30 03:37:22 +00:00

25 lines
521 B
Plaintext

--- Makefile.orig Fri Nov 21 14:10:27 2003
+++ Makefile Fri Nov 21 14:10:55 2003
@@ -20,8 +20,8 @@
#Use this CFLAGS line with gcc on linux
-CFLAGS=-O3 -Wall
-CC=gcc
+CFLAGS?=-O3 -Wall
+CC?=gcc
#Use this CFLAGS line on solaris, etc
#CFLAGS=-O
@@ -44,8 +44,9 @@ as31_gtk: $(OBJ) as31_gtk.o
chmod a+rx as31
strip as31
-parser.c parser.h: parser.y
+parser.c: parser.y
bison -d -o parser.c parser.y
+parser.h: | parser.c
as31_gtk.o: as31_gtk.c as31.h
$(CC) $(CFLAGS) `gtk-config --cflags` -c as31_gtk.c