Date: Wed, 8 Jan 2003 17:07:57 +0100 (CET) From: Ulrich Spoerlein <q@uni.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dinoex@FreeBSD.org Subject: ports/46876: Make net/licq respect $PREFIX Message-ID: <200301081607.h08G7vru053219@coyote.dnsalias.net>
next in thread | raw e-mail | index | archive | help
>Number: 46876 >Category: ports >Synopsis: Make net/licq respect $PREFIX >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 08 09:50:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Ulrich Spoerlein >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD coyote.dnsalias.net 4.7-STABLE FreeBSD 4.7-STABLE #1: Mon Nov 18 09:46:38 CET 2002 root@coyote.dnsalias.net:/usr/obj/usr/src/sys/COYOTE i386 >Description: licq has the path to the sound-files hard-coded to /usr/share/licq. Use sed to change this to $PREFIX/share >How-To-Repeat: install licq and the qt-gui, go to options -> OnEvent >Fix: apply attached patch. i don't know if pre-configure is the right place to do it, but i guess it has to be before the actual build. --- licq-patch begins here --- --- Makefile.orig Tue Jan 7 16:31:56 2003 +++ Makefile Wed Jan 8 16:49:31 2003 @@ -23,6 +23,7 @@ .endif USE_OPENSSL= yes +USE_REINPLACE= yes WRKSRC= ${WRKDIR}/${DISTNAME} # workaround for installed autoconf/automake @@ -35,6 +36,10 @@ CONFIGURE_ENV+= LDFLAGS=-L${LOCALBASE}/lib .endif .endif + +pre-configure: + ${REINPLACE_CMD} -E 's#(^\"[[:alpha:]]+ = )/usr/share/#\1${PREFIX}/share/#' \ + ${WRKSRC}/src/licq.conf.h post-install: @${CAT} ${PKGMESSAGE} --- licq-patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301081607.h08G7vru053219>