File tree Expand file tree Collapse file tree 4 files changed +21
-14
lines changed
Expand file tree Collapse file tree 4 files changed +21
-14
lines changed Original file line number Diff line number Diff line change 343343 ],
344344 "cpp-library" : true
345345 },
346+ "libedit" : {
347+ "source" : " libedit" ,
348+ "static-libs-unix" : [
349+ " libedit.a"
350+ ],
351+ "lib-depends" : [
352+ " ncurses"
353+ ]
354+ },
346355 "libevent" : {
347356 "source" : " libevent" ,
348357 "static-libs-unix" : [
Original file line number Diff line number Diff line change 489489 "path" : " COPYING"
490490 }
491491 },
492+ "libedit" : {
493+ "type" : " filelist" ,
494+ "url" : " https://thrysoee.dk/editline/" ,
495+ "regex" : " /href=\" (?<file>libedit-(?<version>[^\" ]+)\\ .tar\\ .gz)\" /" ,
496+ "provide-pre-built" : true ,
497+ "license" : {
498+ "type" : " file" ,
499+ "path" : " COPYING"
500+ }
501+ },
492502 "libevent" : {
493503 "type" : " ghrel" ,
494504 "repo" : " libevent/libevent" ,
946956 "path" : " LICENSE"
947957 }
948958 },
949- "libedit" : {
950- "type" : " filelist" ,
951- "url" : " https://thrysoee.dk/editline/" ,
952- "regex" : " /href=\" (?<file>editline-(?<version>[^\" ]+)\\ .tar\\ .gz)\" /" ,
953- "provide-pre-built" : true ,
954- "license" : {
955- "type" : " file" ,
956- "path" : " COPYING"
957- }
958- },
959959 "readline" : {
960960 "type" : " filelist" ,
961961 "url" : " https://ftp.gnu.org/pub/gnu/readline/" ,
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public function patchBeforeConfigure(): bool
2323
2424 public function getUnixConfigureArg (bool $ shared = false ): string
2525 {
26- return '--with-libedit= ' . BUILD_ROOT_PATH . ' --without-readline ' ;
26+ return '--with-libedit --without-readline ' ;
2727 }
2828
2929 public function buildUnixShared (): void
Original file line number Diff line number Diff line change @@ -11,9 +11,7 @@ trait libedit
1111 protected function build (): void
1212 {
1313 UnixAutoconfExecutor::create ($ this )
14- ->configure (
15- '--with-curses '
16- )
14+ ->configure ()
1715 ->make ();
1816 $ this ->patchPkgconfPrefix (['libedit.pc ' ]);
1917 }
You can’t perform that action at this time.
0 commit comments