diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2022-05-07 00:44:52 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-05-23 00:13:26 +0200 |
commit | 8a007e755d2bf671070af6c600430061be419bb0 (patch) | |
tree | f22ff59cbe3b28cfc613deafe30ecd9b88c446d3 /Ports/bdwgc/package.sh | |
parent | bccf0a93461d83547c986c967bde3b17d48836d7 (diff) | |
download | serenity-8a007e755d2bf671070af6c600430061be419bb0.zip |
Ports/bdwgc: Build using automake
This provides the necessary pkg-config files for other automake ports
that depend on it.
Diffstat (limited to 'Ports/bdwgc/package.sh')
-rwxr-xr-x | Ports/bdwgc/package.sh | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/Ports/bdwgc/package.sh b/Ports/bdwgc/package.sh index 54b6b388f1..558d6f0dbc 100755 --- a/Ports/bdwgc/package.sh +++ b/Ports/bdwgc/package.sh @@ -8,18 +8,8 @@ depends=(libatomic_ops) workdir=gc-$version auth_type=sha256 -build() { - cd $workdir - mkdir build || true - cd build - cmake .. \ - -Denable_threads=ON \ - -DCMAKE_RUNTIME_OUTPUT_DIRECTORY="$DESTDIR/usr/local/bin" \ - -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="$DESTDIR/usr/local/lib" - cmake --build . -} - -install() { - cd .. - cp -r include "$DESTDIR/usr/local/include/gc" +useconfigure=true +configopts=("--enable-threads=posix") +pre_configure() { + run ./autogen.sh } |