mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Fix build on 9.X
Reported by: pointyhat (via pav)
This commit is contained in:
parent
1427cdda78
commit
c291d24dbe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=281747
@ -60,10 +60,6 @@ PLIST_SUB+= NLS=""
|
||||
MAKE_ENV+= WITHOUT_GNU_COMPAT=yes
|
||||
.endif
|
||||
|
||||
# XXX: fix upstream
|
||||
post-patch:
|
||||
${REINPLACE_CMD} 's/xzefgrep/xzegrep/g' ${WRKSRC}/Makefile
|
||||
|
||||
pre-install:
|
||||
.if defined(WITH_NLS)
|
||||
${MKDIR} ${LOCALBASE}/share/nls/gl_ES.ISO8859-1
|
||||
|
27
textproc/bsdgrep/files/patch-Makefile
Normal file
27
textproc/bsdgrep/files/patch-Makefile
Normal file
@ -0,0 +1,27 @@
|
||||
--- Makefile.old 2011-09-14 01:10:08.000000000 +0200
|
||||
+++ Makefile 2011-09-14 01:10:38.000000000 +0200
|
||||
@@ -4,15 +4,7 @@
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
-.if ${MK_BSD_GREP} == "yes"
|
||||
PROG= grep
|
||||
-.else
|
||||
-PROG= bsdgrep
|
||||
-CLEANFILES+= bsdgrep.1
|
||||
-
|
||||
-bsdgrep.1: grep.1
|
||||
- cp ${.ALLSRC} ${.TARGET}
|
||||
-.endif
|
||||
SRCS= file.c grep.c queue.c util.c
|
||||
|
||||
# Extra files ported backported form some regex improvements
|
||||
@@ -30,7 +22,7 @@
|
||||
${BINDIR}/grep ${BINDIR}/bzegrep \
|
||||
${BINDIR}/grep ${BINDIR}/bzfgrep \
|
||||
${BINDIR}/grep ${BINDIR}/xzgrep \
|
||||
- ${BINDIR}/grep ${BINDIR}/xzefgrep \
|
||||
+ ${BINDIR}/grep ${BINDIR}/xzegrep \
|
||||
${BINDIR}/grep ${BINDIR}/xzfgrep \
|
||||
${BINDIR}/grep ${BINDIR}/lzgrep \
|
||||
${BINDIR}/grep ${BINDIR}/lzegrep \
|
Loading…
Reference in New Issue
Block a user