From 933262490af06a23447745c5e46df05652190d12 Mon Sep 17 00:00:00 2001 From: kwm Date: Sun, 18 Sep 2005 13:55:49 +0000 Subject: s/X11BASE/PREFIX/ in devhelp start script. For X11BASE != PREFIX cases. Submitted by: bland --- devel/devhelp/Makefile | 4 ++-- devel/devhelp/files/devhelp.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'devel') diff --git a/devel/devhelp/Makefile b/devel/devhelp/Makefile index 3f889fb76d2b..3f69146bc6a0 100644 --- a/devel/devhelp/Makefile +++ b/devel/devhelp/Makefile @@ -7,6 +7,7 @@ PORTNAME= devhelp PORTVERSION= 0.10 +PORTREVISION= 1 CATEGORIES?= devel gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C,^([[:digit:]]+\.[[:digit:]]+).*,\1,} @@ -54,7 +55,6 @@ pre-everything:: @${ECHO_MSG} " firefox " @${ECHO_MSG} "" - post-patch: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' \ -e 's|%%MOZILLA%%|${MOZILLA}|g' \ @@ -62,6 +62,6 @@ post-patch: post-install: @${INSTALL_SCRIPT} -m 555 ${WRKDIR}/devhelp.sh ${PREFIX}/etc/rc.d/000.devhelp.sh - @ldconfig -m ${X11BASE}/lib/${MOZILLA} + @${LDCONFIG} -m ${X11BASE}/lib/${MOZILLA} .include diff --git a/devel/devhelp/files/devhelp.sh b/devel/devhelp/files/devhelp.sh index 86bb9b432296..eaf475d7e355 100644 --- a/devel/devhelp/files/devhelp.sh +++ b/devel/devhelp/files/devhelp.sh @@ -13,7 +13,7 @@ name=devhelp start_cmd=devhelp_start stop_cmd=: -[ -z "$devhelp_libdir" ] && devhelp_libdir="%%X11BASE%%/lib/%%MOZILLA%%" +[ -z "$devhelp_libdir" ] && devhelp_libdir="%%PREFIX%%/lib/%%MOZILLA%%" devhelp_start() { if [ -d "$devhelp_libdir" ]; then -- cgit