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:   khorben
Date:           Thu Nov 16 01:28:13 UTC 2017

Modified Files:
        pkgsrc/misc/rhash: Makefile

Log Message:
Add support for CFLAGS and LDFLAGS

This notably fixes building with MKPIE or RELRO enabled.

Bump PKGREVISION, since this generates a different binary now that SSP and
FORTIFY are enabled.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 pkgsrc/misc/rhash/Makefile:1.6
--- pkgsrc/misc/rhash/Makefile:1.5      Tue Aug 15 08:37:47 2017
+++ pkgsrc/misc/rhash/Makefile  Thu Nov 16 01:28:12 2017
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2017/08/15 08:37:47 adam Exp $
+# $NetBSD: Makefile,v 1.6 2017/11/16 01:28:12 khorben Exp $
 
 DISTNAME=      rhash-1.3.5
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=rhash/}
 GITHUB_PROJECT=        RHash
@@ -14,6 +15,9 @@ LICENSE=      mit
 WRKSRC=                        ${WRKDIR}/${DISTNAME:S/rh/RH/}
 INSTALLATION_DIRS=     bin include lib ${PKGMANDIR}/man1 share/examples/rhash
 
+MAKE_FLAGS+=   ADDCFLAGS=${CFLAGS:Q}
+MAKE_FLAGS+=   ADDLDFLAGS=${LDFLAGS:Q}
+
 CONF_FILES+=           ${PREFIX}/share/examples/rhash/rhashrc ${PKG_SYSCONFDIR}/rhashrc
 
 do-install:



Home | Main Index | Thread Index | Old Index