mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Fix typo in manpage
- Eliminate a patch - Respect DESTDIR PR: 101565 Submitted by: gabor (maintainer)
This commit is contained in:
parent
1e83f4f9ce
commit
d73388c5ad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170078
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= sed
|
||||
PORTVERSION= 4.1.5
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_GNU}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -26,11 +27,11 @@ MAN1= gsed.1
|
||||
|
||||
# Local variables
|
||||
PATCH_SUBDIRS= . doc lib sed
|
||||
DATADIR= ${PREFIX}/share/${PKGBASE}
|
||||
DATADIR= ${TARGETDIR}/share/${PKGBASE}
|
||||
SAMP_FILES= binary*.sed dc.sed
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/${PKGBASE}
|
||||
EXAMPLESDIR= ${TARGETDIR}/share/examples/${PKGBASE}
|
||||
PORTDOCS= AUTHORS BUGS COPYING COPYING.DOC NEWS README THANKS
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGBASE}
|
||||
DOCSDIR= ${TARGETDIR}/share/doc/${PKGBASE}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
@ -41,8 +42,9 @@ EXTRA_PATCHES= ${FILESDIR}/extrapatch-lib-regexec.c
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's,^\* sed:,* CNU sed:,' \
|
||||
@${REINPLACE_CMD} 's,^\* sed:,* GNU sed:,' \
|
||||
${WRKSRC}/doc/config.texi
|
||||
@${REINPLACE_CMD} "s|#include <alloca.h>||" ${WRKSRC}/lib/regex_internal.h
|
||||
|
||||
post-configure:
|
||||
.for subdir in ${PATCH_SUBDIRS}
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- lib/regex_internal.h.orig Tue Feb 28 01:36:13 2006
|
||||
+++ lib/regex_internal.h Tue Feb 28 01:36:38 2006
|
||||
@@ -410,8 +410,6 @@
|
||||
#define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
|
||||
#define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
|
||||
|
||||
-#include <alloca.h>
|
||||
-
|
||||
#ifndef _LIBC
|
||||
# if HAVE_ALLOCA
|
||||
/* The OS usually guarantees only one guard page at the bottom of the stack,
|
Loading…
Reference in New Issue
Block a user