diff options
author | marcus <marcus@FreeBSD.org> | 2003-04-04 08:12:58 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-04-04 08:12:58 +0000 |
commit | 370cd526c662cc95482464f2693bd811786dd2e3 (patch) | |
tree | da3653cebe1c6c09dd571e382618664609344cde | |
parent | 766e81addc6fc8289762e93a43f237da57f71949 (diff) | |
download | FreeBSD-ports-370cd526c662cc95482464f2693bd811786dd2e3.zip FreeBSD-ports-370cd526c662cc95482464f2693bd811786dd2e3.tar.gz |
Fix hardcoded /usr/libexec link in the tsclient applet.
PR: 50334
Submitted by: maintainer
-rw-r--r-- | net/tsclient/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/tsclient/Makefile b/net/tsclient/Makefile index 534b9bf..05e63f5 100644 --- a/net/tsclient/Makefile +++ b/net/tsclient/Makefile @@ -7,6 +7,7 @@ PORTNAME= tsclient PORTVERSION= 0.104 +PORTREVISION= 1 CATEGORIES= net gnome MASTER_SITES= http://www.gnomepro.com/tsclient/ @@ -18,12 +19,17 @@ RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop USE_X_PREFIX= yes USE_GNOMENG= yes +USE_REINPLACE= 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 \ ${PREFIX}/share/gnome/pixmaps/tsclient.png |