Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Sep 2014 18:57:49 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368065 - head/security/vida
Message-ID:  <201409121857.s8CIvnW7000545@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Sep 12 18:57:49 2014
New Revision: 368065
URL: http://svnweb.freebsd.org/changeset/ports/368065
QAT: https://qat.redports.org/buildarchive/r368065/

Log:
  Fix build and minor clean-ups to Makefile.

Modified:
  head/security/vida/Makefile

Modified: head/security/vida/Makefile
==============================================================================
--- head/security/vida/Makefile	Fri Sep 12 18:48:42 2014	(r368064)
+++ head/security/vida/Makefile	Fri Sep 12 18:57:49 2014	(r368065)
@@ -10,7 +10,8 @@ MASTER_SITES=	http://vidatapipe.sourcefo
 MAINTAINER=	mich@FreeBSD.org
 COMMENT=	Vida is a multi-datapipe handler
 
-LIB_DEPENDS=	libnet.so:${PORTSDIR}/net/libnet
+BUILD_DEPENDS=	libnet10-config:${PORTSDIR}/net/libnet10
+RUN_DEPENDS=	libnet10-config:${PORTSDIR}/net/libnet10
 
 LDFLAGS+=	${PTHREAD_LIBS} -lncurses -lpcap `${LIBNET_CONFIG} --libs`
 
@@ -18,16 +19,16 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 
 LIBNET_CONFIG?=	${LOCALBASE}/bin/libnet10-config
 
+PLIST_FILES=	bin/vida \
+		man/man1/vida.1.gz
+
 do-build:
-	cd ${WRKSRC} && \
-	${CC} `${LIBNET_CONFIG} --defines --cflags` ${CFLAGS} \
-	vida.c funz.c dnshijacking.c ${LDFLAGS} -o ${PORTNAME}
+	(cd ${WRKSRC} && \
+		${CC} `${LIBNET_CONFIG} --defines --cflags` ${CFLAGS} \
+		vida.c funz.c dnshijacking.c ${LDFLAGS} -o ${PORTNAME})
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/vida.1.gz ${STAGEDIR}${PREFIX}/man/man1/
 
-PLIST_FILES=	bin/vida \
-		man/man1/vida.1.gz
-
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409121857.s8CIvnW7000545>