From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 19 13:30:31 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E95DC16A41F for ; Wed, 19 Oct 2005 13:30:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CD1043D62 for ; Wed, 19 Oct 2005 13:30:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9JDUC6b085632 for ; Wed, 19 Oct 2005 13:30:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9JDUCGA085628; Wed, 19 Oct 2005 13:30:12 GMT (envelope-from gnats) Resent-Date: Wed, 19 Oct 2005 13:30:12 GMT Resent-Message-Id: <200510191330.j9JDUCGA085628@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmytro Rud Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4F7216A41F for ; Wed, 19 Oct 2005 13:24:32 +0000 (GMT) (envelope-from rnd@nexor.cs.uni-magdeburg.de) Received: from nexor.cs.uni-magdeburg.de (nexor.cs.uni-magdeburg.de [141.44.25.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 270D543D48 for ; Wed, 19 Oct 2005 13:24:31 +0000 (GMT) (envelope-from rnd@nexor.cs.uni-magdeburg.de) Received: from nexor.cs.uni-magdeburg.de (localhost [127.0.0.1]) by nexor.cs.uni-magdeburg.de (8.13.3/8.13.3) with ESMTP id j9JDOxUc049381; Wed, 19 Oct 2005 15:24:59 +0200 (CEST) (envelope-from rnd@nexor.cs.uni-magdeburg.de) Received: (from rnd@localhost) by nexor.cs.uni-magdeburg.de (8.13.3/8.13.3/Submit) id j9JDOw8C049380; Wed, 19 Oct 2005 15:24:58 +0200 (CEST) (envelope-from rnd) Message-Id: <200510191324.j9JDOw8C049380@nexor.cs.uni-magdeburg.de> Date: Wed, 19 Oct 2005 15:24:58 +0200 (CEST) From: Dmytro Rud To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: unixoid@web.de, Kris Kennaway Subject: ports/87665: Make the port respect the LOCALBASE variable X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmytro Rud List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 13:30:31 -0000 >Number: 87665 >Category: ports >Synopsis: Make the port respect the LOCALBASE variable >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: Wed Oct 19 13:30:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Dmytro Rud >Release: FreeBSD 5.4-STABLE i386 >Organization: University of Magdeburg >Environment: System: FreeBSD nexor.cs.uni-magdeburg.de 5.4-STABLE FreeBSD 5.4-STABLE #3: Thu Sep 29 11:26:08 CEST 2005 rnd@nexor.cs.uni-magdeburg.de:/usr/obj/usr/src/sys/RND i386 >Description: Kris Kennaway wrote: > This port does not respect non-standard LOCALBASE/X11BASE settings, > which is a requirement that all FreeBSD ports should satisfy. In this build, > your port and all its dependencies were built with LOCALBASE=/usr/opt and > X11BASE=/usr/X, and the build failed because of hard-coded values in your port > or the vendor sources. >How-To-Repeat: >Fix: diff -ruN kinterbasdb/Makefile kinterbasdb.NEW/Makefile --- kinterbasdb/Makefile Sun Sep 18 14:14:13 2005 +++ kinterbasdb.NEW/Makefile Wed Oct 19 15:04:02 2005 @@ -19,14 +19,21 @@ LIB_DEPENDS= gds.1:${PORTSDIR}/databases/firebird-client RUN_DEPENDS= ${PYTHON_SITELIBDIR}/mx/DateTime/__init__.py:${PORTSDIR}/lang/py-mx-base +FIREBIRD_BASE?= ${LOCALBASE} + WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_PYTHON= yes USE_PYDISTUTILS= yes USE_PYTHON_PREFIX= yes +USE_REINPLACE= yes + USE_GCC= 3.4 PLIST_SUB= INSTALLDIR=lib/${PYTHON_VERSION}/site-packages/${PORTNAME} + +post-extract: + ${REINPLACE_CMD} "s@DEFAULT_FREEBSD_HOME_DIR = '.*'@DEFAULT_FREEBSD_HOME_DIR = '${FIREBIRD_BASE}'@" ${WRKSRC}/setup.py .include diff -ruN kinterbasdb/files/patch-setup.py kinterbasdb.NEW/files/patch-setup.py --- kinterbasdb/files/patch-setup.py Tue May 17 18:09:28 2005 +++ kinterbasdb.NEW/files/patch-setup.py Thu Jan 1 01:00:00 1970 @@ -1,11 +0,0 @@ ---- setup.py.orig Sun May 15 10:11:47 2005 -+++ setup.py Sun May 15 10:12:02 2005 -@@ -834,7 +834,7 @@ - # - # This "autodetection" will probably work for some other Unixes as well. - if not DATABASE_HOME_DIR: -- DEFAULT_FREEBSD_HOME_DIR = '/usr/local/firebird' -+ DEFAULT_FREEBSD_HOME_DIR = '/usr/local' - if os.path.isdir(DEFAULT_FREEBSD_HOME_DIR): - DATABASE_HOME_DIR = DEFAULT_FREEBSD_HOME_DIR - if not DATABASE_INCLUDE_DIR: >Release-Note: >Audit-Trail: >Unformatted: