ports/86074: [unbreak] comms/klog fix build on 5.x
Andrej Zverev
az at inec.ru
Tue Sep 13 15:20:14 UTC 2005
>Number: 86074
>Category: ports
>Synopsis: [unbreak] comms/klog fix build on 5.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 13 15:20:13 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Andrej Zverev
>Release: FreeBSD 5.4-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD az.inec.ru 5.4-RELEASE-p1 FreeBSD 5.4-RELEASE-p1 #2: Wed Jul 6 12:10:32 MSD 2005 root at az.inec.ru:/usr/obj/usr/src/sys/GENERIC i386
>Description:
1. unbreak port by making happy compiler.
Where is also new version avalible, i can update, but can't check
if it will work, so waiting force maintainer decision.
>How-To-Repeat:
>Fix:
--- klog.diff begins here ---
diff -Nru klog.orig/Makefile klog/Makefile
--- klog.orig/Makefile Sat Mar 12 13:52:39 2005
+++ klog/Makefile Tue Sep 13 19:02:42 2005
@@ -15,12 +15,15 @@
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
USE_KDELIBS_VER=3
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
+post-patch:
+ @${FIND} ${WRKSRC} -name "*.cpp" -and -not -name "main.cpp"| \
+ ${XARGS} ${REINPLACE_CMD} -e "s|^};|}|;s|{};|{}|;s|;};|;}|g"
.endif
.include <bsd.port.post.mk>
--- klog.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list