ports/133909: [PATCH] Fix x11-clock/intclock

Matthew D. Fuller fullermd at over-yonder.net
Wed Apr 22 09:20:01 UTC 2009


>Number:         133909
>Category:       ports
>Synopsis:       [PATCH] Fix x11-clock/intclock
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 22 09:20:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Matthew D. Fuller
>Release:        FreeBSD 7.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD draco.over-yonder.net 7.1-STABLE FreeBSD 7.1-STABLE #0: Tue Feb 17 18:07:44 CST 2009 root at draco.over-yonder.net:/bsd/obj/bsd/src/sys/DRACO i386


	
>Description:
	intclock hasn't actually worked since misc/iso-codes was upgraded to
	3.6 in March, since it looks for a file that's no longer there.
	However, a file in base appears to have the info it's looking for; it
	works here anyway.

>How-To-Repeat:
	Install and try to run.

>Fix:


Index: Makefile
===================================================================
RCS file: /usr/cvs/ports/x11-clocks/intclock/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile	7 Sep 2008 00:19:01 -0000	1.7
+++ Makefile	22 Apr 2009 08:53:01 -0000
@@ -7,22 +7,21 @@
 
 PORTNAME=	intclock
 PORTVERSION=	2.12
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11-clocks perl5
 MASTER_SITES=	http://www.peterverthez.net/projects/${PORTNAME}/ CENKES
 
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Multi-timezone clock
 
-BUILD_DEPENDS=	p5-Gtk2>=1.144:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
-		iso-codes>=1.3:${PORTSDIR}/misc/iso-codes
+BUILD_DEPENDS=	p5-Gtk2>=1.144:${PORTSDIR}/x11-toolkits/p5-Gtk2
 RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's|$$zonedir/$$countryfile|${LOCALBASE}/share/iso-codes/iso_3166.tab|' \
+		's|$$zonedir/$$countryfile|/usr/share/misc/iso3166|' \
 			${WRKSRC}/lib/Intclock/TZ.pm
 	@${REINPLACE_CMD} -e 's|$$prefix/share/intclock|${DATADIR}|;\
 		s|/usr/share|${PREFIX}/share|' ${WRKSRC}/Makefile.PL

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list