pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/ffmpeg5



Module Name:    pkgsrc
Committed By:   riastradh
Date:           Fri Jan 26 03:17:07 UTC 2024

Modified Files:
        pkgsrc/multimedia/ffmpeg5: Makefile

Log Message:
multimedia/ffmpeg5: Handle cross-builds to big-endian.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/multimedia/ffmpeg5/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/ffmpeg5/Makefile
diff -u pkgsrc/multimedia/ffmpeg5/Makefile:1.28 pkgsrc/multimedia/ffmpeg5/Makefile:1.29
--- pkgsrc/multimedia/ffmpeg5/Makefile:1.28     Mon Jan 22 13:17:01 2024
+++ pkgsrc/multimedia/ffmpeg5/Makefile  Fri Jan 26 03:17:07 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2024/01/22 13:17:01 ryoon Exp $
+# $NetBSD: Makefile,v 1.29 2024/01/26 03:17:07 riastradh Exp $
 
 PKGNAME=       ${DISTNAME:S/ffmpeg/ffmpeg5/}
 PKGREVISION=   1
@@ -23,6 +23,10 @@ CONFIGURE_ARGS+=     --enable-cross-compile
 CONFIGURE_ARGS+=       --host-cc=${NATIVE_CC:Q}
 CONFIGURE_ARGS+=       --host-ld=${NATIVE_CC:Q}
 CONFIGURE_ARGS+=       --target-os=${LOWER_OPSYS}
+.  include "../../mk/endian.mk"
+.  if ${MACHINE_ENDIAN} == "big"
+CONFIGURE_ENV+=                bigendian=yes
+.  endif
 .endif
 
 PRINT_PLIST_AWK+=      /html/ { $$0 = "$${PLIST.doc}" $$0 }



Home | Main Index | Thread Index | Old Index