pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/rzip Make build on Interix by slurping in li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81349b392cfe
branches:  trunk
changeset: 484023:81349b392cfe
user:      tv <tv%pkgsrc.org@localhost>
date:      Tue Nov 23 06:43:01 2004 +0000

description:
Make build on Interix by slurping in libiberty for asprintf(3).

diffstat:

 archivers/rzip/Makefile |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 38fe0edea9b7 -r 81349b392cfe archivers/rzip/Makefile
--- a/archivers/rzip/Makefile   Tue Nov 23 06:42:22 2004 +0000
+++ b/archivers/rzip/Makefile   Tue Nov 23 06:43:01 2004 +0000
@@ -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 @@
        ${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"



Home | Main Index | Thread Index | Old Index