summaryrefslogtreecommitdiff
path: root/net/md-whois/patches/patch-aa
blob: 470accefc5c62783df7281616728ca9e345ee353 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.1 2009/09/26 05:48:02 taca Exp $

* Fix for NetBSD 4.*.

--- Makefile.orig	2008-05-06 18:41:16.000000000 +0900
+++ Makefile
@@ -31,6 +31,10 @@ else
 mkpasswd_LDADD += -lcrypt
 endif
 
+ifdef NEED_OPTARG
+DEFS += -DNEED_OPTARG
+endif
+
 all: Makefile.depend whois mkpasswd #pos
 
 whois_OBJECTS := whois.o utils.o