ports/153125: [PATCH] x11/xcolorsel Fix RUN_DEPENDS and build with NO_INSTALL_MANPAGES2
Nicola Vitale
nivit at FreeBSD.org
Mon Dec 13 16:50:08 UTC 2010
>Number: 153125
>Category: ports
>Synopsis: [PATCH] x11/xcolorsel Fix RUN_DEPENDS and build with NO_INSTALL_MANPAGES2
>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: Mon Dec 13 16:50:07 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Nicola Vitale
>Release: FreeBSD 8.1-RELEASE-p2 i386
>Organization:
n/a
>Environment:
FreeBSD mnemosine.domo.sva 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #12: Sun Dec 5 11:10:55 CET 2010 stan at mnemosine.domo.sva:/usr/obj/usr/src/sys/MNEMOSINE i386
>Description:
1) x11/xcolorsel requires x11/rgb as run-dependency
2) package build fails if you define NO_INSTALL_MANPAGES (see http://goo.gl/tsVym )
>How-To-Repeat:
1) Install x11/xcolorsel and try to run the program, you get this error:
Error: Cannot open RgbTxtFile "/usr/local/lib/X11/rgb.txt".
>Fix:
Patch attached with submission follows:
diff -ruN xcolorsel/Makefile xcolorsel.new/Makefile
--- xcolorsel/Makefile 2008-04-19 19:54:39.000000000 +0200
+++ xcolorsel.new/Makefile 2010-12-13 17:19:46.000000000 +0100
@@ -7,7 +7,7 @@
PORTNAME= xcolorsel
PORTVERSION= 1.1a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= utilities
@@ -17,11 +17,15 @@
COMMENT= X utility to translate rgb values into X color names
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
+RUN_DEPENDS= rgb>=1.0.3:${PORTSDIR}/x11/rgb
WRKSRC= ${WRKDIR}/xcolorsel
USE_IMAKE= yes
USE_XORG= xpm
+
+.if !defined(NO_INSTALL_MANPAGES)
MAN1= xcolorsel.1
+.endif
post-patch:
@${ECHO_CMD} "*.file: ${LOCALBASE}/lib/X11/rgb.txt" >> ${WRKSRC}/Xcolorsel.ad
diff -ruN xcolorsel/distinfo xcolorsel.new/distinfo
--- xcolorsel/distinfo 2005-11-25 20:09:49.000000000 +0100
+++ xcolorsel.new/distinfo 2010-12-13 17:03:25.000000000 +0100
@@ -1,3 +1,2 @@
-MD5 (xcolorsel-1.1a-src.tar.gz) = b802c50bf32ea8909827d373c5bfbb8f
SHA256 (xcolorsel-1.1a-src.tar.gz) = ef9b7925b64190f4c00701ef6d1c46b16b9e2b178fefd769498e32d29a3bfe43
SIZE (xcolorsel-1.1a-src.tar.gz) = 67359
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list