pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/rhash rhash: Honor CFLAGS and LDFLAGS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d7a894c2602f
branches:  trunk
changeset: 377598:d7a894c2602f
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Mar 20 12:41:53 2018 +0000

description:
rhash: Honor CFLAGS and LDFLAGS.

Fixes RELRO build. Bump PKGREVISION.

diffstat:

 misc/rhash/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 5b81fcbb7ac4 -r d7a894c2602f misc/rhash/Makefile
--- a/misc/rhash/Makefile       Tue Mar 20 12:39:37 2018 +0000
+++ b/misc/rhash/Makefile       Tue Mar 20 12:41:53 2018 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.7 2018/03/17 08:02:14 adam Exp $
+# $NetBSD: Makefile,v 1.8 2018/03/20 12:41:53 wiz Exp $
 
 DISTNAME=      rhash-1.3.6
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rhash/}
 GITHUB_PROJECT=        RHash
@@ -18,8 +19,8 @@
 CONFIGURE_ARGS+=       --enable-lib-shared
 CONFIGURE_ARGS+=       --enable-lib-static
 CONFIGURE_ARGS+=       --enable-openssl
-CONFIGURE_ARGS+=       --extra-cflags=-I${PREFIX}/include
-CONFIGURE_ARGS+=       --extra-ldflags=-L${PREFIX}/lib\ -Wl,-R${PREFIX}/lib
+CONFIGURE_ARGS+=       --extra-cflags=-I${PREFIX}/include\ ${CFLAGS:Q}
+CONFIGURE_ARGS+=       --extra-ldflags=-L${PREFIX}/lib\ -Wl,-R${PREFIX}/lib\ ${LDFLAGS:Q}
 CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}



Home | Main Index | Thread Index | Old Index