summaryrefslogtreecommitdiff
path: root/Ports/bdwgc/package.sh
diff options
context:
space:
mode:
authorPeter Elliott <pelliott@ualberta.ca>2022-05-07 00:44:52 -0600
committerAndreas Kling <kling@serenityos.org>2022-05-23 00:13:26 +0200
commit8a007e755d2bf671070af6c600430061be419bb0 (patch)
treef22ff59cbe3b28cfc613deafe30ecd9b88c446d3 /Ports/bdwgc/package.sh
parentbccf0a93461d83547c986c967bde3b17d48836d7 (diff)
downloadserenity-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-xPorts/bdwgc/package.sh18
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
}