Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F172119802
D22688.id65563.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D22688.id65563.diff
View Options
Index: multimedia/x264/Makefile
===================================================================
--- multimedia/x264/Makefile
+++ multimedia/x264/Makefile
@@ -44,19 +44,16 @@
X264_SNAPSHOT= 20190719
USES?= pkgconfig
-USES+= gmake localbase shebangfix tar:bzip2
+USES+= compiler:c11 gmake localbase shebangfix tar:bzip2
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
SHEBANG_FILES= configure
PLIST_FILES?= bin/x264
-OPTIONS_DEFINE+= DEBUG FFMS GCC LAVF PGO SWSCALE
+OPTIONS_DEFINE+= DEBUG FFMS LAVF PGO SWSCALE
OPTIONS_RADIO+= MP4
OPTIONS_RADIO_MP4+= GPAC LSMASH
OPTIONS_DEFAULT+= FFMS LAVF LSMASH SWSCALE
-OPTIONS_DEFAULT_powerpc= GCC
-OPTIONS_DEFAULT_powerpc64= GCC
-OPTIONS_DEFAULT_powerpcspe= GCC
FFMS_DESC= FFmpeg Source input support
GPAC_DESC= GPAC library support
@@ -72,8 +69,6 @@
FFMS_CONFIGURE_ENABLE= ffms
FFMS_IMPLIES= SWSCALE
-GCC_VARS= USE_GCC=yes
-
GPAC_LIB_DEPENDS= libgpac.so:multimedia/gpac-libgpac
GPAC_CONFIGURE_ENABLE= gpac
@@ -92,8 +87,7 @@
# y4m sample video
Y4M_VIDEO= example.y4m
Y4M_VIDEO_DISTFILE= example.y4m.bz2
-PGO_VARS= USE_GCC=any \
- RESTRICTED="${Y4M_VIDEO_DISTFILE} file may not be mirrored" \
+PGO_VARS= RESTRICTED="${Y4M_VIDEO_DISTFILE} file may not be mirrored" \
RESTRICTED_FILES="${Y4M_VIDEO_DISTFILE}"
SWSCALE_LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \
@@ -105,6 +99,8 @@
--extra-cflags="${CPPFLAGS} ${CFLAGS}" \
--extra-ldflags="${LDFLAGS}"
+.include <bsd.port.pre.mk>
+
post-extract-PGO-on:
@${BZIP2_CMD} -dc ${DISTDIR}/${DIST_SUBDIR}/${Y4M_VIDEO_DISTFILE} \
>${WRKDIR}/${Y4M_VIDEO}
@@ -124,4 +120,4 @@
@(${RM} ${WRKSRC}/x264_config.h)
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 17, 6:56 AM (2 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
39058879
Default Alt Text
D22688.id65563.diff (1 KB)
Attached To
Mode
D22688: multimedia/x264 - use base compiler on PowerPC64/ELFv2
Attached
Detach File
Event Timeline
Log In to Comment