Date: Thu, 22 Jun 2006 10:24:35 GMT From: Arseny Nasokin <tarc@tarc.po.cs.msu.su> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/99294: [PATCH][OPTIONS] multimedia/xvid options fixing Message-ID: <200606221024.k5MAOZVe071808@www.freebsd.org> Resent-Message-ID: <200606221030.k5MAUFYO056670@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 99294 >Category: ports >Synopsis: [PATCH][OPTIONS] multimedia/xvid options fixing >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 22 10:30:14 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Arseny Nasokin >Release: FreeBSD 7.0-CURRENT >Organization: Moscow State University, CMC >Environment: $FreeBSD: ports/multimedia/xvid/Makefile,v 1.22 2006/01/23 08:28:54 lofi Exp $ >Description: Options fixing >How-To-Repeat: >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/xvid/Makefile,v retrieving revision 1.22 diff -d -u -r1.22 Makefile --- Makefile 23 Jan 2006 08:28:54 -0000 1.22 +++ Makefile 22 Jun 2006 10:22:17 -0000 @@ -20,14 +20,16 @@ GNU_CONFIGURE= yes INSTALLS_SHLIB= yes USE_GCC?= 3.4 - +OPTIONS= OPTIMIZED_CFLAGS "Enable some optimisations" off WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic -.if defined(WITH_OPTIMIZED_CFLAGS) +.include <bsd.port.pre.mk> + +.if defined(WITH_OPTIMIZED_CFLAGS) && ! defined(WITHOUT_OPTIMIZED_CFLAGS) CFLAGS= # let xvid's build system decide about those .endif post-install: @ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${PREFIX}/lib/libxvidcore.so -.include <bsd.port.mk> +.include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606221024.k5MAOZVe071808>