Page MenuHomeFreeBSD

D42749.1784397227.diff
No OneTemporary

Size
591 B
Referenced Files
None
Subscribers
None

D42749.1784397227.diff

diff --git a/textproc/jq/Makefile b/textproc/jq/Makefile
--- a/textproc/jq/Makefile
+++ b/textproc/jq/Makefile
@@ -1,7 +1,7 @@
PORTNAME= jq
DISTVERSIONPREFIX= ${PORTNAME}-
DISTVERSION= 1.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MAINTAINER= yuri@FreeBSD.org
@@ -39,4 +39,9 @@
ONIGURUMA_LIB_DEPENDS= libonig.so:devel/oniguruma
ONIGURUMA_CONFIGURE_WITH= oniguruma=${LOCALBASE}
+post-patch:
+ @${REINPLACE_CMD} -E \
+ -e 's|generate_ver = ver=".+|generate_ver = ver="\\#define JQ_VERSION \\"${DISTVERSION}\\""|' \
+ ${WRKSRC}/Makefile.am
+
.include <bsd.port.mk>

File Metadata

Mime Type
text/plain
Expires
Sat, Jul 18, 5:53 PM (12 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29187038
Default Alt Text
D42749.1784397227.diff (591 B)

Event Timeline