ports/71820: [PATCH] net/click: unbreak and minor fixes
Yen-Ming Lee
leeym at FreeBSD.org
Fri Sep 17 17:10:12 UTC 2004
>Number: 71820
>Category: ports
>Synopsis: [PATCH] net/click: unbreak and minor fixes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 17 17:10:11 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-BETA4 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004
>Description:
- add USE_GCC=2.95 and unbreak this port
- utilize INFO
- cosmetic fixes which makes portlint happier
Port maintainer (gnn at neville-neil.com) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- click-1.2.3_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/click/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile 14 Mar 2004 03:39:09 -0000 1.9
+++ Makefile 17 Sep 2004 17:02:34 -0000
@@ -1,4 +1,4 @@
-# Updated ports collection makefile for: click
+# Ports collection makefile for: click
# Date created: 3 Nov 2001
# Whom: gnn
#
@@ -16,8 +16,10 @@
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_GCC= 2.95
MANCOMPRESSED= no
+INFO= click
MAN1= click.1 click-align.1 click-combine.1 click-devirtualize.1 \
click-fastclassifier.1 click-flatten.1 click-install.1 \
click-mkmindriver.1 click-uncombine.1 click-undead.1 \
@@ -68,10 +70,6 @@
BROKEN= "Does not compile on alpha 4.x"
.endif
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not compile (bad C++ code)"
-.endif
-
post-install:
@${STRIP_CMD} ${PREFIX}/bin/click
@${STRIP_CMD} ${PREFIX}/bin/click-align
@@ -97,13 +95,13 @@
${INSTALL_DATA} ${WRKSRC}/conf/test2.click ${CONFDIR}
${INSTALL_DATA} ${WRKSRC}/conf/test3.click ${CONFDIR}
${INSTALL_DATA} ${WRKSRC}/conf/udpgen.click ${CONFDIR}
- @echo
- @echo "----------------------------------------------------"
- @echo "Install complete, to try it out do the following:"
- @echo "cd ${PREFIX}/etc/click/conf"
- @echo "click test.click"
- @echo "You should see some output. Now go read the papers and manual."
- @echo "----------------------------------------------------"
- @echo
+ @${ECHO_CMD}
+ @${ECHO_CMD} "----------------------------------------------------"
+ @${ECHO_CMD} "Install complete, to try it out do the following:"
+ @${ECHO_CMD} "cd ${PREFIX}/etc/click/conf"
+ @${ECHO_CMD} "click test.click"
+ @${ECHO_CMD} "You should see some output. Now go read the papers and manual."
+ @${ECHO_CMD} "----------------------------------------------------"
+ @${ECHO_CMD}
.include <bsd.port.post.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net/click/pkg-plist,v
retrieving revision 1.3
diff -u -u -r1.3 pkg-plist
--- pkg-plist 10 Apr 2004 16:07:06 -0000 1.3
+++ pkg-plist 17 Sep 2004 17:02:34 -0000
@@ -94,15 +94,7 @@
include/clicktool/processingt.hh
include/clicktool/routert.hh
include/clicktool/toolutils.hh
- at unexec install-info --delete %D/info/click.info %D/info/dir
-info/click.info
-info/click.info-1
-info/click.info-2
-info/click.info-3
-info/click.info-4
-info/click.info-5
- at exec install-info --section="Click Modular Router" --entry="* click: (click). Click Modular Router" %D/info/click.info %D/info/dir
- at unexec rm -rf %D/etc/click
+ at unexec rm -rf %D/etc/click 2>&1 >/dev/null || true
lib/libclick.a
lib/libclicktool.a
share/click/elementmap
--- click-1.2.3_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list