From owner-freebsd-office@FreeBSD.ORG Sat Nov 3 16:25:46 2012 Return-Path: Delivered-To: office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EB2CA72F for ; Sat, 3 Nov 2012 16:25:46 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) by mx1.freebsd.org (Postfix) with ESMTP id C3CA48FC12 for ; Sat, 3 Nov 2012 16:25:46 +0000 (UTC) Received: from [192.168.0.129] (vie-188-118-240-184.dsl.sil.at [188.118.240.184]) by ainaz.pair.com (Postfix) with ESMTPSA id 437B13F40F; Sat, 3 Nov 2012 12:25:39 -0400 (EDT) Date: Sat, 3 Nov 2012 17:25:42 +0100 (CET) From: Gerald Pfeifer To: office@FreeBSD.org, Maho NAKATA Subject: Re: Eliminating use of _GCC_BUILD_DEPENDS from openoffice-3-devel In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 16:25:47 -0000 I now applied this based on maintainer timeout (3 weeks). Is there any chance we can work on this together and identify why you felt it was necessary in the first place? For, it should not, and rather just work with the standards ports infrastructure. Together I believe we'll be able to eradicate this hack altogether. Gerald On Sat, 13 Oct 2012, Gerald Pfeifer wrote: > _GCC_BUILD_DEPENDS never was meant to be used outside of Mk/bsd.gcc.mk, > and the settings of CFLAGS et al really should be sufficient. > > Apparently it was felt that was not the case, or something is not > working as it should, I don't think I was asked about before this > was put in. > > In any case, can we go for this patch which eliminates _GCC_BUILD_DEPENDS > in favor of a new _GCC_RUNTIME? That is a stop gap, but at least > an official one and easier than manually constructing the library > path. > > Okay to apply the patch below to openoffice-3-devel and, a bit > later, openoffice-3? > > Thanks, > Gerald > > Index: Makefile > =================================================================== > --- Makefile (revision 305792) > +++ Makefile (working copy) > @@ -1,9 +1,5 @@ > -# New ports collection makefile for: Apache OpenOffice > -# Date created: 28 February 2002 > -# Whom: Martin Blapp > -# > +# Created by: Martin Blapp > # $FreeBSD$ > -# > > PORTNAME= apache-openoffice > PORTVERSION= 3.4.${SVNREVISION} > @@ -252,8 +248,8 @@ > > post-patch: > .if defined (USE_GCC) > - @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}+" ${WRKSRC}/solenv/inc/unxfbsd.mk > - @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}+" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk > + @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${_GCC_RUNTIME}+" ${WRKSRC}/solenv/inc/unxfbsd.mk > + @${REINPLACE_CMD} -e "s+%%RPATH%%+-Wl,-rpath=${_GCC_RUNTIME}+" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk > .else > @${REINPLACE_CMD} -e "s+%%RPATH%%++" ${WRKSRC}/solenv/inc/unxfbsd.mk > @${REINPLACE_CMD} -e "s+%%RPATH%%++" ${WRKSRC}/solenv/gbuild/platform/freebsd.mk >