summaryrefslogtreecommitdiff
path: root/net/ncftp2
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2001-05-13 06:13:15 +0000
committertron <tron@pkgsrc.org>2001-05-13 06:13:15 +0000
commitd63bffbf630bd3b716bd845378c95bc4774aa341 (patch)
tree16ec6c9ff066b5c073125efc50ea14e2100f68fd /net/ncftp2
parent54eac8207cabe726c536f9052a526edc1c2f3d4f (diff)
downloadpkgsrc-d63bffbf630bd3b716bd845378c95bc4774aa341.tar.gz
Fix build problem on NetBSD-current system's where "readline.h" is in
"/usr/include/readline" instead of "/usr/include".
Diffstat (limited to 'net/ncftp2')
-rw-r--r--net/ncftp2/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ncftp2/Makefile b/net/ncftp2/Makefile
index b3e8d45de9f..ad31f38381b 100644
--- a/net/ncftp2/Makefile
+++ b/net/ncftp2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2001/02/17 18:19:10 wiz Exp $
+# $NetBSD: Makefile,v 1.23 2001/05/13 06:13:15 tron Exp $
# FreeBSD Id: Makefile,v 1.39 1998/01/31 17:49:48 jseger Exp
#
@@ -18,7 +18,7 @@ BUILD_DEFS+= USE_SOCKS
.include "../../mk/bsd.prefs.mk"
# Check for readline.h as standard
-.if exists(/usr/include/readline.h)
+.if exists(/usr/include/readline.h) || exists(/usr/include/readline/readline.h)
CPPFLAGS+= -DHAVE_LIBREADLINE=1
CPPFLAGS+= -DHAVE_FILENAME_COMPLETION_FUNCTION=1
CPPFLAGS+= -DHAVE_READLINE_H=1 -DHAVE_HISTORY_H=1