summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/patches/patch-ac
blob: 38d79e150e63f88cd771ffe62aa1d0988b5b33b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-ac,v 1.2 2001/12/17 21:23:42 agc Exp $

On Darwin, grab the md5 files and headers from the digest package

--- lib/Makefile	2001/10/29 21:07:57	1.1
+++ lib/Makefile	2001/10/29 21:08:11
@@ -5,13 +5,23 @@
 SRCS+=		exec.c file.c ftpio.c global.c lpkg.c pen.c pkgdb.c \
 		plist.c str.c version.c
 
+OPSYS!= 	uname -s
+
+.if ${OPSYS} == "Darwin"
+SRCS+=		md5c.c md5hl.c
+.endif
+
 MKLINT=		no
 MKMAN=		no
 MKPIC=		no
 MKPROFILE=	no
 
 # only needed during build - prevent installation of library
+.if ${OPSYS} == "Darwin"
+install::
+.else
 libinstall::
+.endif
 
 version.o: version.h version.c