1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build on -current.

This commit is contained in:
Adam Weinberger 2014-08-16 16:45:37 +00:00
parent 595fcc53ed
commit 1399aac2c1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365102
2 changed files with 12 additions and 1 deletions

View File

@ -14,7 +14,7 @@ LICENSE= GPLv2
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= readline
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} ${CPPFLAGS}"
INFO= esh

View File

@ -0,0 +1,11 @@
--- Makefile.orig 2014-08-16 12:44:43.000000000 -0400
+++ Makefile 2014-08-16 12:44:58.000000000 -0400
@@ -27,7 +27,7 @@
VERS=0.8.5
all: $(OBJS)
- $(CC) $(OBJS) $(LIB) -o esh
+ $(CC) $(OBJS) $(LIB) -o esh ${LDFLAGS}
backup:
cp -f Makefile *.[ch] /home/backup/esh