mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Convert optimization knob into option.
PR: ports/99294 Submitted by: Arseny Nasokin <tarc@tarc.po.cs.msu.su>
This commit is contained in:
parent
6631700ebe
commit
5ec5a2154d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166372
@ -23,6 +23,10 @@ USE_GCC?= 3.4
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/build/generic
|
||||
|
||||
OPTIONS= OPTIMIZED_CFLAGS "Use XviD's default optimizations" off
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_OPTIMIZED_CFLAGS)
|
||||
CFLAGS= # let xvid's build system decide about those
|
||||
.endif
|
||||
@ -30,4 +34,4 @@ CFLAGS= # let xvid's build system decide about those
|
||||
post-install:
|
||||
@ ${LN} -sf ${PREFIX}/lib/libxvidcore.so.4 ${PREFIX}/lib/libxvidcore.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user