Bug 116892 - x11/accessx can use tk84
Summary: x11/accessx can use tk84
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Stefan Walter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-04 08:40 UTC by TsurutaniNaoki
Modified: 2007-10-06 12:20 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2007-10-04 08:40:00 UTC
	x11/accessx can work with tk84, but always tk82 is installed by dependency.

Fix: 

here is a patch to use installed tk.

	--- /usr/ports/x11/accessx.safe/Makefile	2007-09-23 20:49:41.000000000 +0900
	+++ Makefile	2007-10-03 12:40:29.000000000 +0900
	@@ -15,7 +15,7 @@
	 MAINTAINER=	stephen@math.missouri.edu
	 COMMENT=	Customise accessibility features for X
	 
	-RUN_DEPENDS=	wish8.2:${PORTSDIR}/x11-toolkits/tk82
	+USE_TK=		yes
	 
	 WRKSRC=		${WRKDIR}/accessx
	 USE_X_PREFIX=	yes
	@@ -28,7 +28,7 @@
	 		-e "s@/usr/X11R6/lib@${X11BASE}/lib@" \
	 		-e "s@g\+\+@${CXX} ${CXXFLAGS} -I${X11BASE}/include@g" \
	 		${WRKSRC}/Makefile
	-	${REINPLACE_CMD} -e "s@wish -f@wish8.2 -f@g" ${WRKSRC}/accessx
	+	@${REINPLACE_CMD} -e "s@wish -f@${WISH} -f@g" ${WRKSRC}/accessx
	 
	 post-install:
	 	${STRIP_CMD} ${PREFIX}/bin/ax
		

	If we avoid some specific tk version, list it.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-10-04 08:40:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 2 Stephen Montgomery-Smith 2007-10-04 13:09:33 UTC
I totally approve.

(I am the maintainer of this port.)
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2007-10-06 11:56:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->stefan

Take.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-10-06 12:04:57 UTC
stefan      2007-10-06 11:04:47 UTC

  FreeBSD ports repository

  Modified files:
    x11/accessx          Makefile 
  Log:
  - Set USE_TK instead of an explicit dependency on x11-toolkits/tk82, this
    software also works with tk84.
  - Bump PORTREVISION.
  
  PR:             116892
  Submitted by:   Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
  Approved by:    maintainer
  
  Revision  Changes    Path
  1.14      +3 -3      ports/x11/accessx/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Stefan Walter freebsd_committer freebsd_triage 2007-10-06 12:09:47 UTC
State Changed
From-To: feedback->closed

Committed, thanks!