summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archivers/rzip/Makefile10
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"