FreeBSD Bugzilla – Attachment 205800 Details for
Bug 239225
sysutils/less: add pcre option, clean up, enable color and pcre options
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to port
less_530_features_cleanup-rev0.diff (text/plain), 1.26 KB, created by
Steve Wills
on 2019-07-15 13:35:48 UTC
(
hide
)
Description:
patch to port
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2019-07-15 13:35:48 UTC
Size:
1.26 KB
patch
obsolete
>diff --git sysutils/less/Makefile sysutils/less/Makefile >index 3320e2639fcb..b9ec56e78368 100644 >--- sysutils/less/Makefile >+++ sysutils/less/Makefile >@@ -3,6 +3,7 @@ > > PORTNAME= less > PORTVERSION= 530 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= http://www.greenwoodsoftware.com/less/ \ > http://bitrote.org/distfiles/ >@@ -13,24 +14,36 @@ COMMENT= Better pager utility > LICENSE= GPLv3 > > USES= cpe ncurses >-CPE_VENDOR= gnu > >+CPE_VENDOR= gnu > GNU_CONFIGURE= yes > >-PLIST_FILES= bin/less bin/lesskey bin/lessecho \ >- man/man1/less.1.gz man/man1/lesskey.1.gz \ >- man/man1/lessecho.1.gz >+PLIST_FILES= bin/less \ >+ bin/lessecho \ >+ bin/lesskey \ >+ man/man1/less.1.gz \ >+ man/man1/lessecho.1.gz \ >+ man/man1/lesskey.1.gz >+ >+OPTIONS_DEFINE= COLORS PCRE >+OPTIONS_DEFAULT= COLORS PCRE >+ >+PCRE_USES= localbase >+PCRE_LIB_DEPENDS= libpcre.so:devel/pcre > >-OPTIONS_DEFINE= COLORS > COLORS_DESC= Enable colors support via escape sequence > > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MCOLORS} > CPPFLAGS+= -DCOLOR_LESS >+.endif > >-pre-fetch: >- @${ECHO_MSG} "Making a color version of less." >+.if ${PORT_OPTIONS:MPCRE} >+CONFIGURE_ARGS+= --with-regex=pcre >+LDFLAGS+= -L${LOCALBASE}/lib -lpcre >+.else >+CONFIGURE_ARGS+= --with-regex=posix > .endif > > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
jharris:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 239225
: 205800