- Use MAKE_ARGS
- Don't invoke install-info twice when using INFO
This commit is contained in:
parent
eb9435da52
commit
64bbb94283
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=134155
@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= The "easy shell", a small shell with Lisp-like syntax
|
||||
|
||||
WRKSRC= ${WRKDIR}/esh
|
||||
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -I/usr/include/readline"
|
||||
INFO= esh
|
||||
|
||||
pre-build:
|
||||
@ -29,7 +30,6 @@ do-install:
|
||||
@${RM} /etc/shells.bak
|
||||
.if !defined(NOPORTDOCS)
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/esh.info ${PREFIX}/info/esh.info
|
||||
install-info ${PREFIX}/info/esh.info ${PREFIX}/info/dir
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,21 +0,0 @@
|
||||
--- Makefile.orig Wed Feb 6 16:23:28 2002
|
||||
+++ Makefile Wed Feb 6 16:23:51 2002
|
||||
@@ -1,7 +1,7 @@
|
||||
|
||||
# Your C compiler.
|
||||
|
||||
-CC=gcc
|
||||
+#CC=gcc
|
||||
|
||||
# Where your readline library is.
|
||||
# You can compile with a "gets()" replacement instead.
|
||||
@@ -19,7 +19,8 @@
|
||||
# -DMEM_DEBUG Check for memory leaks.
|
||||
#
|
||||
|
||||
-CFLAGS=-g -Wall -DMEM_DEBUG $(INC)
|
||||
+#CFLAGS=-g -Wall -DMEM_DEBUG $(INC)
|
||||
+CFLAGS+= $(INC)
|
||||
|
||||
# No need to change this stuff.
|
||||
|
Loading…
Reference in New Issue
Block a user