Skip site navigation (1)Skip section navigation (2)
Date:      21 Feb 2005 13:21:53 -0000
From:      Sergei Kolobov <sergei@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kwm@FreeBSD.org
Subject:   ports/77857: [PATCH] net/gnomemeeting: correctly determine WRKSRC of dependencies
Message-ID:  <20050221132153.70661.qmail@arnor.elendil.ru>
Resent-Message-ID: <200502211330.j1LDUHmL055961@freefall.freebsd.org>

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

>Number:         77857
>Category:       ports
>Synopsis:       [PATCH] net/gnomemeeting: correctly determine WRKSRC of dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 21 13:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 5.3-STABLE i386
>Organization:
Elendil LLC
>Environment:
System: FreeBSD arnor.elendil.ru 5.3-STABLE FreeBSD 5.3-STABLE #0: Thu Dec 30 21:05:17 MSK 2004
>Description:
- Be more flexible when determining WRKSRC of build-time dependencies:
  use make -V WRKSRC in appropriate port directories instead of hard-coding 
  their default locations (see similar fix in net/openh323)

Port maintainer (kwm@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.70
>How-To-Repeat:
>Fix:

--- gnomemeeting-0.98.5_4.patch begins here ---
Index: Makefile
===================================================================
RCS file: /FreeBSD/cvs/ports/net/gnomemeeting/Makefile,v
retrieving revision 1.46
diff -u -u -r1.46 Makefile
--- Makefile	1 Feb 2005 18:55:00 -0000	1.46
+++ Makefile	14 Feb 2005 15:53:30 -0000
@@ -37,11 +37,12 @@
 		OPENH323DIR=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323 \
 		SDL_CONFIG=${LOCALBASE}/bin/sdl11-config \
 		CPPFLAGS="-I${LOCALBASE}/include"
-
-CONFIGURE_ARGS=	--with-ptlib-includes=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib/include/ptlib \
-		--with-ptlib-libs=${WRKDIRPREFIX}${.CURDIR}/../../devel/pwlib/work/pwlib/lib \
-		--with-openh323-includes=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323/include \
-		--with-openh323-libs=${WRKDIRPREFIX}${.CURDIR}/../openh323/work/openh323/lib \
+PWLIBDIR!=	cd ${PORTSDIR}/devel/pwlib && make -V WRKSRC
+OPENH323DIR!=	cd ${PORTSDIR}/net/openh323 && make -V WRKSRC
+CONFIGURE_ARGS=	--with-ptlib-includes=${PWLIBDIR}/include/ptlib \
+		--with-ptlib-libs=${PWLIBDIR}/lib \
+		--with-openh323-includes=${OPENH323DIR}/include \
+		--with-openh323-libs=${OPENH323DIR}/lib \
 		--with-ldap-includes=${LOCALBASE}/include \
 		--with-openldap-libs=${LOCALBASE}/lib
 GCONF_SCHEMAS=	gnomemeeting.schemas
--- gnomemeeting-0.98.5_4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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