summaryrefslogtreecommitdiff
path: root/net/ntop/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>1999-07-06 08:06:29 +0000
committerjlam <jlam>1999-07-06 08:06:29 +0000
commit7aca7c6ad75f67a0f99b687c1b4bad04ae200049 (patch)
tree1635c1c2e0845d00bcd1e33ed15a0a23417f2d07 /net/ntop/Makefile
parent880ab9746c9af33d4149dd47b2d68f6708cd5ce6 (diff)
downloadpkgsrc-7aca7c6ad75f67a0f99b687c1b4bad04ae200049.tar.gz
* Update ncurses dependency.
* Use more extensible way of passing necessary -I flags to configure.
Diffstat (limited to 'net/ntop/Makefile')
-rw-r--r--net/ntop/Makefile20
1 files changed, 7 insertions, 13 deletions
diff --git a/net/ntop/Makefile b/net/ntop/Makefile
index 498dc79ceb8..eb49a4d9177 100644
--- a/net/ntop/Makefile
+++ b/net/ntop/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 1999/05/26 22:37:58 tron Exp $
+# $NetBSD: Makefile,v 1.10 1999/07/06 08:06:29 jlam Exp $
DISTNAME= ntop-1.0
CATEGORIES= net
@@ -6,25 +6,19 @@ MASTER_SITES= ftp://ftp.unipi.it/pub/local/ntop/source/
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= kim@tac.nyc.ny.us
-
-BUILD_DEPENDS= autoconf:../../devel/autoconf
-DEPENDS= ncurses-1.9.9g:../../devel/ncurses
-
HOMEPAGE= http://www-serra.unipi.it/~ntop/
-NOT_FOR_PLATFORM= *-*-alpha *-*-mips # elf problems WRT libcurses
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
+DEPENDS+= ncurses-4.2:../../devel/ncurses
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
-CFLAGS+= -I${PREFIX}/include
-LDFLAGS+= -L${PREFIX}/lib
-
-CONFIGURE_ENV+= CPPFLAGS=-I${PREFIX}/include
-CONFIGURE_ENV+= CFLAGS=-I${PREFIX}/include
-CONFIGURE_ENV+= LDFLAGS=-L${PREFIX}/lib
+CPPFLAGS+= -I${LOCALBASE}/include # for ncurses.h
+LDFLAGS+= -L${LOCALBASE}/lib # for -lncurses
+CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
pre-configure:
- (cd ${WRKSRC}; autoconf)
+ ( cd ${WRKSRC}; autoconf )
.include "../../mk/bsd.pkg.mk"