ports/71897: [PATCH] dns/fastresolve: unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Sun Sep 19 03:30:20 UTC 2004
>Number: 71897
>Category: ports
>Synopsis: [PATCH] dns/fastresolve: unbreak
>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: Sun Sep 19 03:30:17 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:
- unbreak this port in 5.x
- utilize PORTDOCS and DATADIR
Port maintainer (martin at tradex.sk) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- fastresolve-2.10_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/dns/fastresolve/Makefile,v
retrieving revision 1.11
diff -u -u -r1.11 Makefile
--- Makefile 18 Sep 2004 17:12:10 -0000 1.11
+++ Makefile 19 Sep 2004 03:29:08 -0000
@@ -25,6 +25,7 @@
PERL=${PERL}
USE_AUTOMAKE_VER= 14
USE_AUTOCONF_VER= 213
+USE_REINPLACE= yes
# Default to db3
WITH_BDB_VER?= 3
@@ -48,12 +49,11 @@
MAN1= dns-terror.1 btree-dump.1 convert-dom-db.1 convert-ip-db.1 \
expire-ip-db.1 getdominfo.1 rebuild-dom-db.1 rebuild-ip-db.1 \
reresolve.1 make-report.1
+PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO timings
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -E -e 's,enum (adns_queryflags),\1,g' \
+ ${WRKSRC}/dns-terror/dns-terror.cc
post-install:
.if !defined(NOPORTDOCS)
@@ -65,4 +65,4 @@
@${INSTALL_DATA} ${WRKSRC}/doc/timings ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/dns/fastresolve/pkg-plist,v
retrieving revision 1.2
diff -u -u -r1.2 pkg-plist
--- pkg-plist 3 Sep 2003 10:59:27 -0000 1.2
+++ pkg-plist 19 Sep 2004 03:29:08 -0000
@@ -8,15 +8,6 @@
bin/rebuild-ip-db
bin/reresolve
bin/make-report
-share/fastresolve/AddrCycle.pm
-share/fastresolve/analog.cfg
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/NEWS
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/timings
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrm share/fastresolve
+%%DATADIR%%/AddrCycle.pm
+%%DATADIR%%/analog.cfg
+ at dirrm %%DATADIR%%
--- fastresolve-2.10_2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list