diff options
author | tv <tv@pkgsrc.org> | 2004-11-23 06:43:01 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2004-11-23 06:43:01 +0000 |
commit | 2ea17ce1c7566d5bb38a6c3d8dfc9e34094689ef (patch) | |
tree | fb8318359d3c987aed848cb45d01e6142a7e53c8 /archivers | |
parent | 8ed46e50aed5d38b0b5b1aaa836116a5a42f65e8 (diff) | |
download | pkgsrc-2ea17ce1c7566d5bb38a6c3d8dfc9e34094689ef.tar.gz |
Make build on Interix by slurping in libiberty for asprintf(3).
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/rzip/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/archivers/rzip/Makefile b/archivers/rzip/Makefile index 89400836a4e..33312d21c72 100644 --- a/archivers/rzip/Makefile +++ b/archivers/rzip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2004/11/23 06:13:12 tv Exp $ +# $NetBSD: Makefile,v 1.3 2004/11/23 06:43:01 tv Exp $ # FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp # @@ -19,5 +19,13 @@ post-install: ${RM} -f ${PREFIX}/man/man1/runzip.1 ${LN} -s ${PREFIX}/man/man1/rzip.1 ${PREFIX}/man/man1/runzip.1 +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "Interix" +# need an asprintf(3) implementation +. include "../../devel/libiberty/buildlink3.mk" +LIBS+= -liberty +.endif + .include "../../archivers/bzip2/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |