diff options
author | vs <vs@FreeBSD.org> | 2005-04-22 17:00:37 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2005-04-22 17:00:37 +0800 |
commit | 6162180bcee7796d0e1f1a676d0a4392b79b31a9 (patch) | |
tree | dbd4c15f3593bb03e45eb95800a21293e8d291ab /misc/boxes | |
parent | 02ded54ff1b80fda6a03ecf7a3f46f62830ab5d1 (diff) | |
download | freebsd-ports-graphics-6162180bcee7796d0e1f1a676d0a4392b79b31a9.tar.gz freebsd-ports-graphics-6162180bcee7796d0e1f1a676d0a4392b79b31a9.tar.zst freebsd-ports-graphics-6162180bcee7796d0e1f1a676d0a4392b79b31a9.zip |
- Fix runtime error by regenerating path in config.h
- Use MAKE_ARGS instead of patches
Diffstat (limited to 'misc/boxes')
-rw-r--r-- | misc/boxes/Makefile | 5 | ||||
-rw-r--r-- | misc/boxes/files/patch-aa | 11 | ||||
-rw-r--r-- | misc/boxes/files/patch-ab | 13 |
3 files changed, 4 insertions, 25 deletions
diff --git a/misc/boxes/Makefile b/misc/boxes/Makefile index 36c2bdf5fe0..99910b39b93 100644 --- a/misc/boxes/Makefile +++ b/misc/boxes/Makefile @@ -21,12 +21,15 @@ MAN1= boxes.1 USE_GMAKE= yes USE_BISON= yes ALL_TARGET= boxes -MAKE_ARGS= GLOBALCONF=${GLOBALCONF} CFLAGS_ADDTL="${CFLAGS}" +MAKE_ARGS= CC="${CC}" GLOBALCONF=${GLOBALCONF} CFLAGS="${CFLAGS} -ansi -I. -Iregexp" GLOBALCONF= ${DATADIR}/boxes-config PLIST_FILES= bin/boxes share/boxes/boxes-config PLIST_DIRS= share/boxes +do-configure: + ${RM} ${WRKSRC}/src/boxes.h ${WRKSRC}/doc/boxes.1 + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/boxes ${PREFIX}/bin ${MKDIR} ${DATADIR} diff --git a/misc/boxes/files/patch-aa b/misc/boxes/files/patch-aa deleted file mode 100644 index fba8cd8bb14..00000000000 --- a/misc/boxes/files/patch-aa +++ /dev/null @@ -1,11 +0,0 @@ ---- ./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)) diff --git a/misc/boxes/files/patch-ab b/misc/boxes/files/patch-ab deleted file mode 100644 index 55497855b01..00000000000 --- a/misc/boxes/files/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ ---- ./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 |