Date: Wed, 8 Jan 2003 23:58:01 +0100 (CET) From: Ulrich Spoerlein <q@.uni.de> To: FreeBSD-gnats-submit@FreeBSD.org Cc: dinoex@FreeBSD.org Subject: ports/46883: [Patch] Make net/licq respect $PREFIX Message-ID: <200301082258.h08Mw11L054051@coyote.dnsalias.net>
index | next in thread | raw e-mail
>Number: 46883
>Category: ports
>Synopsis: [Patch] 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 15:00:22 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 looks for soundfiles under /usr/share/licq...
>How-To-Repeat:
Install licq + qt-gui, go to Options -> OnEvent
>Fix:
Apply, attached patch to Makefile
--- 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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301082258.h08Mw11L054051>
