summaryrefslogtreecommitdiff
path: root/net/ncftp2
diff options
context:
space:
mode:
authortron <tron>2001-05-13 06:13:15 +0000
committertron <tron>2001-05-13 06:13:15 +0000
commit306bdb909f7896752edd84c680f07f37de1fadf9 (patch)
tree16ec6c9ff066b5c073125efc50ea14e2100f68fd /net/ncftp2
parent555de160194508767e1264036c8e2f33553d1e9f (diff)
downloadpkgsrc-306bdb909f7896752edd84c680f07f37de1fadf9.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