diff options
author | tnn <tnn@pkgsrc.org> | 2015-03-05 22:28:37 +0000 |
---|---|---|
committer | tnn <tnn@pkgsrc.org> | 2015-03-05 22:28:37 +0000 |
commit | 17cf3a9b2a3e9dddb5b82d4ab3fc795b78cbf72f (patch) | |
tree | d90b9138a93f6fa1eb0624f6c95528eeca59ce89 /security/mhash | |
parent | e759b96b33cfbd3147744d1f9e2b905da7878dd1 (diff) | |
download | pkgsrc-17cf3a9b2a3e9dddb5b82d4ab3fc795b78cbf72f.tar.gz |
avoid namespace clash with libc. Bump rev.
Diffstat (limited to 'security/mhash')
-rw-r--r-- | security/mhash/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/security/mhash/Makefile b/security/mhash/Makefile index 87cb4206e1f..70b86eff5a5 100644 --- a/security/mhash/Makefile +++ b/security/mhash/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.28 2014/05/29 23:37:20 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2015/03/05 22:28:37 tnn Exp $ DISTNAME= mhash-0.9.9 -PKGREVISION= 5 +PKGREVISION= 6 CATEGORIES= security devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mhash/} EXTRACT_SUFX= .tar.bz2 @@ -19,6 +19,17 @@ GNU_CONFIGURE= yes INSTALLATION_DIRS= include/mutils +POLLUTING_SYMS= MD4Final MD4Init MD4Transform MD4Update \ + MD5Final MD5Init MD5Transform MD5Update + +SUBST_CLASSES+= ns +SUBST_STAGE.ns= pre-configure +SUBST_MESSAGE.ns= Prefixing symbols to avoid libc namespace pollution +SUBST_FILES.ns= lib/*.c lib/*.h src/*.c src/*.h +.for sym in ${POLLUTING_SYMS} +SUBST_SED.ns+= -e 's,\(${sym}\),mhash_\1,g' +.endfor + pre-configure: cd ${WRKSRC} && autoconf -v -f |