mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Use MAKE_ARGS instead of Makefile-patch
This commit is contained in:
parent
d3cdeae545
commit
23c13a940f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133638
@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Explode Plan9 archives
|
||||
|
||||
PLIST_FILES= bin/9e
|
||||
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="" HDRS=""
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/9e ${PREFIX}/bin
|
||||
|
@ -1,35 +0,0 @@
|
||||
--- Makefile.orig Thu Jun 15 06:40:52 2000
|
||||
+++ Makefile Sun Oct 19 01:13:32 2003
|
||||
@@ -1,14 +1,11 @@
|
||||
# Makefile for 9e
|
||||
|
||||
-CC = gcc
|
||||
+CC ?= cc
|
||||
|
||||
-CFLAGS = -g3 -ggdb
|
||||
+CFLAGS ?= -O -pipe
|
||||
|
||||
.PHONY: all clean distclean
|
||||
|
||||
-LIBS = -lefence
|
||||
-
|
||||
-HDRS = 9a.h
|
||||
SRCS = 9e.c
|
||||
OBJS = 9e.o
|
||||
|
||||
@@ -17,7 +14,7 @@
|
||||
all: $(BINARIES)
|
||||
|
||||
9e: $(OBJS)
|
||||
- $(CC) -o 9e 9e.o $(LIBS)
|
||||
+ $(CC) -o 9e 9e.o
|
||||
|
||||
clean:
|
||||
rm -f *.o *~ a.out
|
||||
@@ -26,4 +23,4 @@
|
||||
distclean: clean
|
||||
rm -f ${BINARIES}
|
||||
|
||||
-# EOF
|
||||
\ No newline at end of file
|
||||
+# EOF
|
Loading…
Reference in New Issue
Block a user