pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/rhash



Module Name:    pkgsrc
Committed By:   wiz
Date:           Tue Mar 20 12:41:54 UTC 2018

Modified Files:
        pkgsrc/misc/rhash: Makefile

Log Message:
rhash: Honor CFLAGS and LDFLAGS.

Fixes RELRO build. Bump PKGREVISION.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 pkgsrc/misc/rhash/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/rhash/Makefile
diff -u pkgsrc/misc/rhash/Makefile:1.7 pkgsrc/misc/rhash/Makefile:1.8
--- pkgsrc/misc/rhash/Makefile:1.7      Sat Mar 17 08:02:14 2018
+++ pkgsrc/misc/rhash/Makefile  Tue Mar 20 12:41:53 2018
@@ -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+=      --disable-openssl-runti
 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