diff --git a/srcpkgs/quickjs/template b/srcpkgs/quickjs/template index a1c9f8d1c36..1bfbdb43242 100644 --- a/srcpkgs/quickjs/template +++ b/srcpkgs/quickjs/template @@ -1,7 +1,7 @@ # Template file for 'quickjs' pkgname=quickjs version=2021.03.27 -revision=2 +revision=3 wrksrc="${pkgname}-${version//./-}" build_style=gnu-makefile make_use_env=true @@ -26,6 +26,7 @@ if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then fi pre_configure() { + vsed -i -e 's|%s/lib/quickjs|%s/lib|' qjsc.c vsed -i -e '/HOST_CC/s/CFLAGS_OPT/BUILD_CFLAGS/' Makefile cat >>Makefile <