Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Mar 2003 09:18:12 +0100 (CET)
From:      Koop Mast <einekoai@chello.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50334: Maintainer-update: tsclient fix hardcoded location 
Message-ID:  <20030327081812.5BF71B83B@prisma.quccc.org>

next in thread | raw e-mail | index | archive | help

>Number:         50334
>Category:       ports
>Synopsis:       Maintainer-update: tsclient fix hardcoded location
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 27 00:20:08 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Koop Mast
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD prisma.quccc.org 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Tue Mar 4 16:00:21 CET 2003 root@prisma.quccc.org:/usr/obj/usr/src/sys/RAINBOW i386


	
>Description:
	Fix the hardcode /usr/libexec to ${PREFIX}/libexec.
	This fixes the tsclient applet.
>How-To-Repeat:
	
>Fix:

	

--- tsclient.diff begins here ---
diff -ruN tsclient.orig/Makefile tsclient/Makefile
--- tsclient.orig/Makefile	Sun Mar  2 06:03:15 2003
+++ tsclient/Makefile	Wed Mar 26 22:42:32 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	tsclient
 PORTVERSION=	0.104
+PORTREVISION=	1
 CATEGORIES=	net gnome
 MASTER_SITES=	http://www.gnomepro.com/tsclient/
 
@@ -17,12 +18,17 @@
 RUN_DEPENDS=	rdesktop:${PORTSDIR}/net/rdesktop
 
 USE_X_PREFIX=	yes
+USE_REINPLACE=	yes
 USE_GNOMENG=	yes
 USE_GNOME=	gnomeprefix gnomehack
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
 		LDFLAGS="-L${LOCALBASE}/lib"
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|g;' \
+	 ${WRKSRC}/applet/GNOME_TSClientApplet.server
 
 post-install:
 	@${LN} -sf ${PREFIX}/share/gnome/pixmaps/tsclient/tsclient.png \
--- tsclient.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030327081812.5BF71B83B>