aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-07-15 18:18:22 +0800
committerroberto <roberto@FreeBSD.org>2002-07-15 18:18:22 +0800
commitba1f77524939f9407454bec994afe976afefb1e7 (patch)
tree5155d1dd313d9dab5258bc6faf27a02dad700f52 /net-mgmt
parent73ae6ceeff8faccc504d0cf8389046b58a7fcd00 (diff)
downloadfreebsd-ports-gnome-ba1f77524939f9407454bec994afe976afefb1e7.tar.gz
freebsd-ports-gnome-ba1f77524939f9407454bec994afe976afefb1e7.tar.zst
freebsd-ports-gnome-ba1f77524939f9407454bec994afe976afefb1e7.zip
Update to 1.0.5 and respect CFLAGS/LDFLAGS.
PR: ports/40591 Submitted by: Michael Hostbaek <mich@freebsdcluster.org> (MAINTAINER)
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cdpr/Makefile9
-rw-r--r--net-mgmt/cdpr/distinfo2
2 files changed, 7 insertions, 4 deletions
diff --git a/net-mgmt/cdpr/Makefile b/net-mgmt/cdpr/Makefile
index bfed19f6561c..cc9a2a143ea3 100644
--- a/net-mgmt/cdpr/Makefile
+++ b/net-mgmt/cdpr/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= cdpr
-PORTVERSION= 1.0.4
+PORTVERSION= 1.0.5
CATEGORIES= net
MASTER_SITES= http://www.monkeymental.com/mmfiles/ \
${MASTER_SITE_LOCAL}
@@ -16,11 +16,14 @@ EXTRACT_SUFX= .tgz
MAINTAINER= mich@freebsdcluster.org
-USE_GCC= yes
-ALL_TARGET= cdpr
+CFLAGS+= -ggdb
+LDFLAGS+= -L${LOCALBASE}/lib -lpcap
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+do-build:
+ (cd ${WRKSRC} && ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c)
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
diff --git a/net-mgmt/cdpr/distinfo b/net-mgmt/cdpr/distinfo
index a1e9868fc026..2d84f675a668 100644
--- a/net-mgmt/cdpr/distinfo
+++ b/net-mgmt/cdpr/distinfo
@@ -1 +1 @@
-MD5 (cdpr-1.0.4.tgz) = 040e0bc584ac3e003ba559e6c3711baf
+MD5 (cdpr-1.0.5.tgz) = 828094f5e305b0dd5897284d73375bf6