Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147796914
D42749.1784397227.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
591 B
Referenced Files
None
Subscribers
None
D42749.1784397227.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D42749: textproc/jq: jq --version shows no version
Attached
Detach File
Event Timeline
Log In to Comment