ports/99294: [PATCH][OPTIONS] multimedia/xvid options fixing

Arseny Nasokin tarc at tarc.po.cs.msu.su
Thu Jun 22 10:30:16 UTC 2006


>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:



More information about the freebsd-ports-bugs mailing list