aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-02-02 16:35:02 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-02-02 16:35:02 +0100
commite4e7191df12bf97e6085984ab7bfb96a5d9d0cdd (patch)
tree0273640e569635d679da91182e8299bcf12eaf4d
parent13f44fe60902dfc98988540c93fb6b1d53d8706b (diff)
downloadaports-e4e7191df12bf97e6085984ab7bfb96a5d9d0cdd.tar.gz
aports-e4e7191df12bf97e6085984ab7bfb96a5d9d0cdd.tar.bz2
aports-e4e7191df12bf97e6085984ab7bfb96a5d9d0cdd.tar.xz
main/gc: fix url=
-rw-r--r--main/gc/APKBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/main/gc/APKBUILD b/main/gc/APKBUILD
index a83a877662..d6ac1c241c 100644
--- a/main/gc/APKBUILD
+++ b/main/gc/APKBUILD
@@ -1,24 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gc
pkgver=8.0.4
-pkgrel=0
+pkgrel=1
pkgdesc="A garbage collector for C and C++"
-url="http://hboehm.info/gc/"
+url="https://hboehm.info/gc/"
arch="all"
-license="GPL"
+license="custom:GPL-like"
makedepends="libatomic_ops-dev linux-headers"
subpackages="$pkgname-dev $pkgname-doc libgc++:libgccpp"
source="http://hboehm.info/gc/gc_source/gc-$pkgver.tar.gz
0001-Fix-gctest-with-musl-libc-on-s390x.patch
"
-builddir="$srcdir/gc-${pkgver%[a-z]}"
build() {
- cd "$builddir"
-
- if [ "$CLIBC" = "musl" ]; then
- export CFLAGS="$CFLAGS -D_GNU_SOURCE -DNO_GETCONTEXT -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
- fi
+ export CFLAGS="$CFLAGS -D_GNU_SOURCE -DNO_GETCONTEXT -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -30,14 +25,11 @@ build() {
}
check() {
- cd "$builddir"
-
# two FAILs due to grsecurity
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}