From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Feb 14 21:15:23 2009 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE82E106566B for ; Sat, 14 Feb 2009 21:15:23 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: from mail-fx0-f11.google.com (mail-fx0-f11.google.com [209.85.220.11]) by mx1.freebsd.org (Postfix) with ESMTP id 3F8D38FC0A for ; Sat, 14 Feb 2009 21:15:22 +0000 (UTC) (envelope-from josh.carroll@gmail.com) Received: by fxm4 with SMTP id 4so32856fxm.19 for ; Sat, 14 Feb 2009 13:15:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=6Th2jm6qtKEqYmtzzNbBOlgXwhthTM8XgcZNUCCDawc=; b=n4MHPJ6Cb6bKMl3Fl0+0GeInWtx8od3plonMtI0yWdkxJ3YKU2/G7MTtIi+TbgAmfk EH5AGXuwyh70HSXqEmHHYpt7tnTrSqKGXaPANuB9BQLOzZUTUw585goZC2D94oR84nZw Mm7FmMADKltl8WzvVxdmGZ3bycnKxcdQLJ89A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type:content-transfer-encoding; b=Yl5JEHnXZVwmb37LBCMF9D2rIQ57wzcAVEGUaKbf2tN0OVywMpj8D4D/FOiSCZcak9 wtmc9At+qRHmYlB4j26iaBtBTipN6oKvjgRIRzueqxLcMAlJwOgQsPmkHbxjsjBe6Guo L8g0oPutKhFFd/euarnsBY2yoDsOrspKxEn2E= MIME-Version: 1.0 Received: by 10.103.226.10 with SMTP id d10mr607671mur.84.1234644232126; Sat, 14 Feb 2009 12:43:52 -0800 (PST) In-Reply-To: <200902142010.n1EKA0B1011310@freefall.freebsd.org> References: <200902142000.n1EK0xmm041483@www.freebsd.org> <200902142010.n1EKA0B1011310@freefall.freebsd.org> Date: Sat, 14 Feb 2009 15:43:52 -0500 Message-ID: <8cb6106e0902141243h54b3f2a8v2c5c073748439bb7@mail.gmail.com> From: Josh Carroll To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: ports/131681: Add OPTIONS framework to gpac-libgpac port X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: josh.carroll@gmail.com List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2009 21:15:23 -0000 Here is an updated patch which adds a LIB_DEPEND for the libGL port if the OPENGL option is selected (which is the default). Thanks, Josh --- Makefile.orig 2009-02-13 20:55:45.000000000 -0500 +++ Makefile 2009-02-14 15:41:15.000000000 -0500 @@ -27,9 +27,25 @@ LIBVER= 1 CONFIGURE_ARGS= --cc="${CC}" \ - --extra-cflags="${CFLAGS} ${PTHREAD_CFLAGS} -fPIC" \ + --enable-pic \ + --extra-cflags="${CFLAGS} ${PTHREAD_CFLAGS}" \ --extra-ldflags="${LDFLAGS} ${PTHREAD_LIBS}" +OPTIONS= OPENGL "OpenGL support" on \ + IPV6 "IPv6 support" on + +.include + +.if defined(WITHOUT_OPENGL) +CONFIGURE_ARGS+= --disable-opengl +.else +LIB_DEPENDS+= GL.1:${PORTSDIR}/graphics/libGL +.endif + +.if defined(WITHOUT_IPV6) +CONFIGURE_ARGS+= --disable-ipv6 +.endif + post-patch: ${CHMOD} +x ${WRKSRC}/configure @@ -41,4 +57,4 @@ ${LN} -sf libgpac.so.${LIBVER} ${PREFIX}/lib/libgpac.so ${INSTALL_DATA} ${INSTALL_WRKSRC}/libgpac_static.a ${PREFIX}/lib -.include +.include