Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Oct 2005 17:15:40 +0200 (CEST)
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/87874: make irc/olirc respect LOCALBASE
Message-ID:  <200510231515.j9NFFeBV064828@saturn.kn-bremen.de>
Resent-Message-ID: <200510231530.j9NFUFZh068611@freefall.freebsd.org>

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

>Number:         87874
>Category:       ports
>Synopsis:       make irc/olirc respect LOCALBASE
>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:   Sun Oct 23 15:30:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Juergen Lock
>Release:        FreeBSD 5.3-RELEASE-p20 i386
>Organization:
me?  organized??
>Environment:
System: FreeBSD saturn 5.3-RELEASE-p20 FreeBSD 5.3-RELEASE-p20 #1: Fri Jul 29 14:59:03 CEST 2005 nox@saturn:/usr/home/nox/src5/usr/src/sys/i386/compile/NEPTUN i386


>Description:
	port had /usr/local hardcoded in configure...
>How-To-Repeat:
	n/a
>Fix:

New file: files/patch-configure.in

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/irc/olirc/Makefile,v
retrieving revision 1.13
diff -u -r1.13 Makefile
--- Makefile	6 Feb 2004 13:11:33 -0000	1.13
+++ Makefile	23 Oct 2005 15:12:30 -0000
@@ -21,7 +21,8 @@
 USE_BZIP2=	yes
 USE_X_PREFIX=	yes
 USE_GNOME=	gtk12
-GNU_CONFIGURE=	yes
+USE_AUTOCONF_VER=	213
+CONFIGURE_ENV+=	LOCALBASE=${LOCALBASE}
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/olirc ${PREFIX}/bin
Index: files/patch-configure.in
@@ -0,0 +1,25 @@
+Index: configure.in
+@@ -86,20 +86,15 @@
+ 
+ tclrecommendver="8.2.1"
+ 
+-tcllibnames="tcl tcl8.3 tcl83 tcl8.2 tcl82 tcl8.1 tcl81 \
+-	tcl8.0 tcl80 tcl7.6 tcl76 tcl7.5 tcl75 tcl7.4 tcl74 \
+-	tcl7.3 tcl73 tcl7.2 tcl72 tcl7.1 tcl71 tcl7.0 tcl70"
++tcllibnames="tcl8.2 tcl82"
+ 
+ tcllibextensions=".so .so.1 .so.1.0 .so.1.2 .a"
+ 
+-tcllibpaths="/usr/local/lib /usr/local/pkgs/tcl/lib \
+-	/usr/lib /lib /usr/i486-linuxaout/lib \
+-	$HOME/lib $HOME/tcl/lib $HOME"
++tcllibpaths="${LOCALBASE}/lib"
+ 
+ tclheadernames="tcl.h"
+ 
+-tclheaderpaths="/usr/local/include /usr/local/pkgs/tcl/include \
+-	/usr/include $HOME/include $HOME/tcl/include $HOME"
++tclheaderpaths="${LOCALBASE}/include"
+ 
+ # make sure either both or neither $tcllibname and $tclincname are set
+ if test ! "_${tcllibname}" = "_"
>Release-Note:
>Audit-Trail:
>Unformatted:



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