Toss in strlcpy.c and hey presto: Instant linux pkg_install binaries.

This commit is contained in:
abs 2002-09-23 13:16:59 +00:00
parent 645790f8b7
commit ad0c708fc1
2 changed files with 4 additions and 4 deletions

View file

@ -1,11 +1,11 @@
$NetBSD: distinfo,v 1.20 2002/09/23 12:57:27 abs Exp $
$NetBSD: distinfo,v 1.21 2002/09/23 13:16:59 abs Exp $
SHA1 (pkg_install-20020723.tar.gz) = c16763363a8ff4341c866d50e40dfa2639288009
Size (pkg_install-20020723.tar.gz) = 81502 bytes
SHA1 (patch-aa) = 3f0c9b4e8853341c696c02d3f68fe53eae59fbef
SHA1 (patch-ab) = 0b5effbb41b34f96877d3f9494d6cf5054795414
SHA1 (patch-ac) = fb24ffdc0fbf4ca85d588afcfac39a960b763706
SHA1 (patch-ad) = 8c34aeb2e0ed41d6a59e4d90a71ea7ea333a36f3
SHA1 (patch-ad) = 6936e8e5d0d6142402e80a024e2d3998e45d6572
SHA1 (patch-ae) = 1e9ca0cd01c27337fb7ad688b16775cea325d7e6
SHA1 (patch-af) = b1d9ce8d3c3e592a67db7ac9676a72317a1485c5
SHA1 (patch-ag) = e30435f0a626a893934c725c605486a145e27690

View file

@ -1,4 +1,4 @@
$NetBSD: patch-ad,v 1.4 2002/08/06 11:51:02 wiz Exp $
$NetBSD: patch-ad,v 1.5 2002/09/23 13:16:59 abs Exp $
--- lib/Makefile.orig Thu Aug 1 10:46:31 2002
+++ lib/Makefile
@ -14,7 +14,7 @@ $NetBSD: patch-ad,v 1.4 2002/08/06 11:51:02 wiz Exp $
+.endif
+
+.if ${OPSYS} == "Linux"
+SRCS+= fgetln.c md5c.c md5hl.c
+SRCS+= fgetln.c md5c.c md5hl.c strlcpy.c
+.endif
+
+.if ${OPSYS} == "NetBSD" && (${RELEASE:M1.4.[12]} != "" || ${RELEASE:M1.4} != "")