diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | configure.local | 3 |
3 files changed, 10 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = mandoc-cvs pkgdesc = A suite of tools compiling mdoc from the OpenBSD project - pkgver = 20190612 + pkgver = 20191111 pkgrel = 1 url = https://mandoc.bsd.lv arch = i686 @@ -16,7 +16,7 @@ pkgbase = mandoc-cvs source = configure.local source = mandoc.service source = mandoc.timer - sha256sums = f0e8ddb61d063bec02a6a1f73f5d979bb548e7aabcf0a27c0d5c29c4194bfc8e + sha256sums = 8d1301ac6e52653fedda5b862428f0b21976664005c7b3da24bf4e411d7bb56d sha256sums = 2091411d5f87a3c371a5ba74b4773d1e454046446fa2cb045485979e52419bb6 sha256sums = 74d6a02b97a17fffddcc0a3dc830e811348b1f6c6b84f867882c776d50f00ea4 @@ -3,7 +3,7 @@ # Contributor: Matheus de Alcantara <matheus.de.alcantara@gmail.com> pkgname=mandoc-cvs -pkgver=20190612 +pkgver=20191111 pkgrel=1 pkgdesc='A suite of tools compiling mdoc from the OpenBSD project' license=('custom: ISC') @@ -16,7 +16,7 @@ conflicts=('man') source=('configure.local' 'mandoc.service' 'mandoc.timer') -sha256sums=('f0e8ddb61d063bec02a6a1f73f5d979bb548e7aabcf0a27c0d5c29c4194bfc8e' +sha256sums=('8d1301ac6e52653fedda5b862428f0b21976664005c7b3da24bf4e411d7bb56d' '2091411d5f87a3c371a5ba74b4773d1e454046446fa2cb045485979e52419bb6' '74d6a02b97a17fffddcc0a3dc830e811348b1f6c6b84f867882c776d50f00ea4') @@ -38,8 +38,12 @@ pkgver() { } build() { - cp "${srcdir}/configure.local" $pkgname cd $pkgname + cat "$srcdir/configure.local" - <<EOF > configure.local +CPPFLAGS="$CPPFLAGS" +CFLAGS="$CFLAGS" +LDFLAGS="$LDFLAGS" +EOF ./configure make } diff --git a/configure.local b/configure.local index 8abc16b1b840..1180aad2d880 100644 --- a/configure.local +++ b/configure.local @@ -17,5 +17,4 @@ MANM_ROFF=mandoc_roff # catman(8) is disabled by default. BUILD_CATMAN=1 -# _FORTIFY_SOURCE doesn't work unless an optimisation level is specified. -CFLAGS="$CFLAGS -O2" + |