summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-08-16 09:41:24 +0000
committeragc <agc@pkgsrc.org>1999-08-16 09:41:24 +0000
commitc2e9364a11b2f54b46d6a07f0edbaac978674d5f (patch)
treed305a9f6a915bade2d39c440241d651e3acb3ecd /net
parent4d3e7575fc3fbc45fd26504c4a7601b1a05fa84d (diff)
downloadpkgsrc-c2e9364a11b2f54b46d6a07f0edbaac978674d5f.tar.gz
Set CPP definitions to make this package work on Solaris.
Diffstat (limited to 'net')
-rw-r--r--net/ncftp2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/ncftp2/Makefile b/net/ncftp2/Makefile
index 404266c73b4..2d86deb298b 100644
--- a/net/ncftp2/Makefile
+++ b/net/ncftp2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 1999/07/13 12:20:19 tron Exp $
+# $NetBSD: Makefile,v 1.17 1999/08/16 09:41:24 agc Exp $
# FreeBSD Id: Makefile,v 1.39 1998/01/31 17:49:48 jseger Exp
#
@@ -18,6 +18,7 @@ CONFIGURE_ARGS+= --disable-extra-dirs
DEPENDS+= ncurses-4.2:../../devel/ncurses
.endif
+# Check for readline.h as standard
.if exists(/usr/include/readline.h)
CPPFLAGS+= -DHAVE_LIBREADLINE=1
CPPFLAGS+= -DHAVE_FILENAME_COMPLETION_FUNCTION=1
@@ -38,7 +39,12 @@ CONFIGURE_ARGS+= --enable-socks5
DEPENDS+= socks5-1.0.2:../../net/socks5
.endif
.endif
+
+.if ${OPSYS} == "SunOS"
+CPPFLAGS= -I${LOCALBASE}/include
+.else
CPPFLAGS+= -I${LOCALBASE}/include
+.endif
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"