diff options
author | khorben <khorben@pkgsrc.org> | 2017-11-16 01:28:12 +0000 |
---|---|---|
committer | khorben <khorben@pkgsrc.org> | 2017-11-16 01:28:12 +0000 |
commit | 99ee91c6cbbe9a2eb74f89eed12dcdd345dd4231 (patch) | |
tree | f4f1c136eb66a91a3353b2085696ac9d95487da2 /misc/rhash/Makefile | |
parent | 42b13b840c7f5635490abc940e300ae3ee3aec93 (diff) | |
download | pkgsrc-99ee91c6cbbe9a2eb74f89eed12dcdd345dd4231.tar.gz |
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.
Diffstat (limited to 'misc/rhash/Makefile')
-rw-r--r-- | misc/rhash/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/misc/rhash/Makefile b/misc/rhash/Makefile index ca60c1cd78e..6e64adbc816 100644 --- a/misc/rhash/Makefile +++ b/misc/rhash/Makefile @@ -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: |