mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Fix build on -current (don't try and build with cc -traditional).
Respect CC and CFLAGS
This commit is contained in:
parent
258e006f52
commit
a735943d25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68465
@ -23,9 +23,6 @@ MAKE_ARGS= GLOBALCONF=${GLOBALCONF} CFLAGS_ADDTL="${CFLAGS}"
|
||||
|
||||
GLOBALCONF= ${PREFIX}/share/boxes/boxes-config
|
||||
|
||||
do-patch:
|
||||
${TOUCH} ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/boxes ${PREFIX}/bin
|
||||
${MKDIR} ${PREFIX}/share/boxes
|
||||
|
11
misc/boxes/files/patch-aa
Normal file
11
misc/boxes/files/patch-aa
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./src/regexp/Makefile.orig Sun Oct 20 17:56:12 2002
|
||||
+++ ./src/regexp/Makefile Sun Oct 20 17:56:19 2002
|
||||
@@ -32,7 +32,7 @@
|
||||
#============================================================================
|
||||
|
||||
|
||||
-CFLAGS = -traditional -O -I. $(CFLAGS_ADDTL)
|
||||
+CFLAGS += -I. $(CFLAGS_ADDTL)
|
||||
|
||||
ALL_CL = regexp/regexp.c regexp/regsub.c
|
||||
C_SRC = $(notdir $(ALL_CL))
|
13
misc/boxes/files/patch-ab
Normal file
13
misc/boxes/files/patch-ab
Normal file
@ -0,0 +1,13 @@
|
||||
--- ./src/Makefile.orig Sun Oct 20 17:58:59 2002
|
||||
+++ ./src/Makefile Sun Oct 20 17:59:05 2002
|
||||
@@ -78,8 +78,8 @@
|
||||
|
||||
LEX = flex
|
||||
YACC = bison
|
||||
-CC = gcc
|
||||
-CFLAGS = -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
|
||||
+CC ?= cc
|
||||
+CFLAGS += -ansi -I. -Iregexp -Wall -W $(CFLAGS_ADDTL)
|
||||
LDFLAGS = -Lregexp
|
||||
|
||||
GEN_HDR = parser.h boxes.h
|
Loading…
Reference in New Issue
Block a user