aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/cdpd
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-11-16 12:59:32 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-11-16 12:59:32 +0000
commitefb0cba3b2fc8879581e03c95cccbfd30f06368f (patch)
treecba3b83c2914f8856bf1b9044da8f0715213dc7f /net-mgmt/cdpd
parentae5a6dfaa3020891e2ff4657e920ff173491ce4e (diff)
downloadports-efb0cba3b2fc8879581e03c95cccbfd30f06368f.tar.gz
ports-efb0cba3b2fc8879581e03c95cccbfd30f06368f.zip
- Add minor patch to remove double CR from start/stop script
- Pet portlint PR: 54837 Submitted by: Andrew <andrew@ugh.net.au> Approved by: maintainer timeout > 4 months
Notes
Notes: svn path=/head/; revision=94089
Diffstat (limited to 'net-mgmt/cdpd')
-rw-r--r--net-mgmt/cdpd/Makefile2
-rw-r--r--net-mgmt/cdpd/files/cdpd.patch11
2 files changed, 12 insertions, 1 deletions
diff --git a/net-mgmt/cdpd/Makefile b/net-mgmt/cdpd/Makefile
index 0ab8cadff4eb..1d370cbe51a4 100644
--- a/net-mgmt/cdpd/Makefile
+++ b/net-mgmt/cdpd/Makefile
@@ -12,7 +12,7 @@ MASTER_SITES= ftp://ftp.lexa.ru/pub/domestic/snar/
MAINTAINER= snar@paranoia.ru
COMMENT= CDPdaemon - sends Cisco Discovery Protocol announces over ethernet
-BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
+BUILD_DEPENDS= ${LOCALBASE}/lib/libnet.a:${PORTSDIR}/net/libnet
GNU_CONFIGURE= yes
diff --git a/net-mgmt/cdpd/files/cdpd.patch b/net-mgmt/cdpd/files/cdpd.patch
new file mode 100644
index 000000000000..497ff9f311fc
--- /dev/null
+++ b/net-mgmt/cdpd/files/cdpd.patch
@@ -0,0 +1,11 @@
+--- cdpd.sh.in.orig Fri Jul 25 07:28:15 2003
++++ cdpd.sh.in Fri Jul 25 07:28:23 2003
+@@ -3,7 +3,7 @@
+ case $1 in
+ start)
+ [ -x @prefix@@libexecdir@/cdpd ] && @prefix@@libexecdir@/cdpd -a;
+- echo ' cdpd';
++ echo -n ' cdpd';
+ ;;
+ stop)
+ killall cdpd