ports

morpheus ports
git clone git://git.2f30.org/ports
Log | Files | Refs | LICENSE

commit f6afb560adf1f0e6f0931eab6b7ded9071fe78bb
parent 929bee924e0cb3fa69b1c47d77621db5fc2838ce
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 22 Jul 2014 22:34:05 +0000

cross-compile some more packages (X11)

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Malsalib/alsalib.mk | 2++
Mfreetype/freetype.mk | 2++
Mlibgiflib/libgiflib.mk | 2++
Mlibpthreadstubs/libpthreadstubs.mk | 2++
Mxorgbigreqsproto/xorgbigreqsproto.mk | 12+++++++-----
Mxorgcompositeproto/xorgcompositeproto.mk | 12+++++++-----
Mxorgdamageproto/xorgdamageproto.mk | 12+++++++-----
Mxorgdmxproto/xorgdmxproto.mk | 12+++++++-----
Mxorgdri2proto/xorgdri2proto.mk | 15+++++++--------
Mxorgfixesproto/xorgfixesproto.mk | 12+++++++-----
Mxorgfontsproto/xorgfontsproto.mk | 12+++++++-----
Mxorginputproto/xorginputproto.mk | 16+++++++++-------
Mxorgkbproto/xorgkbproto.mk | 12+++++++-----
Mxorglibx11/xorglibx11.mk | 2++
Mxorglibxau/xorglibxau.mk | 2++
Mxorglibxcb/xorglibxcb.mk | 3+++
Mxorglibxdmcp/xorglibxdmcp.mk | 2++
Mxorglibxext/xorglibxext.mk | 2++
Mxorglibxinerama/xorglibxinerama.mk | 2++
Mxorgrandrproto/xorgrandrproto.mk | 12+++++++-----
Mxorgrecordproto/xorgrecordproto.mk | 12+++++++-----
Mxorgrenderproto/xorgrenderproto.mk | 11+++++++----
Mxorgresourceproto/xorgresourceproto.mk | 12+++++++-----
Mxorgscrnsaverproto/xorgscrnsaverproto.mk | 12+++++++-----
Mxorgvideoproto/xorgvideoproto.mk | 12+++++++-----
Mxorgxcbproto/xorgxcbproto.mk | 11+++++++----
Mxorgxcmiscproto/xorgxcmiscproto.mk | 12+++++++-----
Mxorgxextproto/xorgxextproto.mk | 11+++++++----
Mxorgxf86bigfontproto/xorgxf86bigfontproto.mk | 11+++++++----
Mxorgxf86dgaproto/xorgxf86dgaproto.mk | 12+++++++-----
Mxorgxineramaproto/xorgxineramaproto.mk | 11+++++++----
Mxorgxproto/xorgxproto.mk | 2++
Mxorgxtrans/xorgxtrans.mk | 2++
33 files changed, 174 insertions(+), 105 deletions(-)

diff --git a/alsalib/alsalib.mk b/alsalib/alsalib.mk @@ -11,6 +11,8 @@ alsalib:QV: sed -i 's,#if !defined(_POSIX_C_SOURCE) && !defined(_POSIX_SOURCE),#if 0,' include/global.h # CC="$CC -static" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --disable-shared \ diff --git a/freetype/freetype.mk b/freetype/freetype.mk @@ -13,6 +13,8 @@ freetype:QV: export LIBPNG_CFLAGS="${libpng_CFLAGS}" export LIBPNG_LIBS="${libpng_LDFLAGS}" CC="$CC" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --disable-shared \ diff --git a/libgiflib/libgiflib.mk b/libgiflib/libgiflib.mk @@ -4,6 +4,8 @@ TARG = libgiflib libgiflib:QV: CC="${CC} -static" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --disable-shared \ diff --git a/libpthreadstubs/libpthreadstubs.mk b/libpthreadstubs/libpthreadstubs.mk @@ -4,6 +4,8 @@ TARG = libpthreadstubs libpthreadstubs:QV: CC="$CC" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --disable-shared \ --enable-static diff --git a/xorgbigreqsproto/xorgbigreqsproto.mk b/xorgbigreqsproto/xorgbigreqsproto.mk @@ -3,8 +3,10 @@ TARG = xorgbigreqsproto <$mkbuild/mk.common-noinst xorgbigreqsproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgcompositeproto/xorgcompositeproto.mk b/xorgcompositeproto/xorgcompositeproto.mk @@ -3,8 +3,10 @@ TARG = xorgcompositeproto <$mkbuild/mk.common-noinst xorgcompositeproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgdamageproto/xorgdamageproto.mk b/xorgdamageproto/xorgdamageproto.mk @@ -3,8 +3,10 @@ TARG = xorgdamageproto <$mkbuild/mk.common-noinst xorgdamageproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgdmxproto/xorgdmxproto.mk b/xorgdmxproto/xorgdmxproto.mk @@ -3,8 +3,10 @@ TARG = xorgdmxproto <$mkbuild/mk.common-noinst xorgdmxproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgdri2proto/xorgdri2proto.mk b/xorgdri2proto/xorgdri2proto.mk @@ -3,13 +3,12 @@ TARG = xorgdri2proto <$mkbuild/mk.common-noinst xorgdri2proto:QV: - CC="$CC" ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" \ - --disable-shared \ - --enable-static - make -j$nprocs - # install lib for use as a dependency. - make -j$nprocs install DESTDIR=`pwd`/lib + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" # remove .la files for now ? find `pwd`/lib -iname "*.la" -exec rm {} \; diff --git a/xorgfixesproto/xorgfixesproto.mk b/xorgfixesproto/xorgfixesproto.mk @@ -3,8 +3,10 @@ TARG = xorgfixesproto <$mkbuild/mk.common-noinst xorgfixesproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgfontsproto/xorgfontsproto.mk b/xorgfontsproto/xorgfontsproto.mk @@ -3,8 +3,10 @@ TARG = xorgfontsproto <$mkbuild/mk.common-noinst xorgfontsproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorginputproto/xorginputproto.mk b/xorginputproto/xorginputproto.mk @@ -1,10 +1,12 @@ -TARG = xorgkbproto +TARG = xorginputproto <$mkbuild/mk.common-noinst -xorgkbproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" +xorginputproto:QV: + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgkbproto/xorgkbproto.mk b/xorgkbproto/xorgkbproto.mk @@ -3,8 +3,10 @@ TARG = xorgkbproto <$mkbuild/mk.common-noinst xorgkbproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorglibx11/xorglibx11.mk b/xorglibx11/xorglibx11.mk @@ -17,6 +17,8 @@ xorglibx11:QV: export X11_CFLAGS="${CFLAGS}" export X11_LIBS="${LDFLAGS}" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --with-keysymdefdir="${xorgxproto_includedir}/X11" \ diff --git a/xorglibxau/xorglibxau.mk b/xorglibxau/xorglibxau.mk @@ -9,6 +9,8 @@ xorglibxau:QV: export XAU_CFLAGS="-I${xorgxproto_includedir}" export XAU_LIBS="-L${xorgxproto_libdir}" CC="$CC" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" make -j$nprocs DESTDIR="`pwd`/lib/" install diff --git a/xorglibxcb/xorglibxcb.mk b/xorglibxcb/xorglibxcb.mk @@ -1,4 +1,5 @@ # make deps: python2.7 (with python 3 won't work atm (2014-04-30)). +# xcbgen: python-xcbgen (debian), xorg-xcb-proto (crux). TARG = xorglibxcb DEPS = xorgxcbproto xorgxproto xorglibxau xorglibxdmcp @@ -18,6 +19,8 @@ xorglibxcb:QV: # export NEEDED_CFLAGS="-I${xorgxproto_includedir}" # export NEEDED_LIBS="-L${xorgxproto_libdir}" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --disable-shared \ diff --git a/xorglibxdmcp/xorglibxdmcp.mk b/xorglibxdmcp/xorglibxdmcp.mk @@ -12,6 +12,8 @@ xorglibxdmcp:QV: # set set it. # CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure CC="$CC" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --disable-shared \ diff --git a/xorglibxext/xorglibxext.mk b/xorglibxext/xorglibxext.mk @@ -11,6 +11,8 @@ xorglibxext:QV: # HAVE__XEATDATAWORDS is set, but it isn't detected with configure # set set it. CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --disable-shared \ diff --git a/xorglibxinerama/xorglibxinerama.mk b/xorglibxinerama/xorglibxinerama.mk @@ -11,6 +11,8 @@ xorglibxinerama:QV: # HAVE__XEATDATAWORDS is set, but it isn't detected with configure # set set it. CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" \ --disable-shared \ diff --git a/xorgrandrproto/xorgrandrproto.mk b/xorgrandrproto/xorgrandrproto.mk @@ -3,8 +3,10 @@ TARG = xorgrandrproto <$mkbuild/mk.common-noinst xorgrandrproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgrecordproto/xorgrecordproto.mk b/xorgrecordproto/xorgrecordproto.mk @@ -3,8 +3,10 @@ TARG = xorgrecordproto <$mkbuild/mk.common-noinst xorgrecordproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgrenderproto/xorgrenderproto.mk b/xorgrenderproto/xorgrenderproto.mk @@ -3,7 +3,10 @@ TARG = xorgrenderproto <$mkbuild/mk.common-noinst xorgrenderproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgresourceproto/xorgresourceproto.mk b/xorgresourceproto/xorgresourceproto.mk @@ -3,8 +3,10 @@ TARG = xorgresourceproto <$mkbuild/mk.common-noinst xorgresourceproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgscrnsaverproto/xorgscrnsaverproto.mk b/xorgscrnsaverproto/xorgscrnsaverproto.mk @@ -3,8 +3,10 @@ TARG = xorgscrnsaverproto <$mkbuild/mk.common-noinst xorgscrnsaverproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgvideoproto/xorgvideoproto.mk b/xorgvideoproto/xorgvideoproto.mk @@ -3,8 +3,10 @@ TARG = xorgvideoproto <$mkbuild/mk.common-noinst xorgvideoproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxcbproto/xorgxcbproto.mk b/xorgxcbproto/xorgxcbproto.mk @@ -5,7 +5,10 @@ TARG = xorgxcbproto xorgxcbproto:QV: export PYTHON="python2.7" - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs install DESTDIR="`pwd`/lib/" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxcmiscproto/xorgxcmiscproto.mk b/xorgxcmiscproto/xorgxcmiscproto.mk @@ -3,8 +3,10 @@ TARG = xorgxcmiscproto <$mkbuild/mk.common-noinst xorgxcmiscproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxextproto/xorgxextproto.mk b/xorgxextproto/xorgxextproto.mk @@ -3,7 +3,10 @@ TARG = xorgxextproto <$mkbuild/mk.common-noinst xorgxextproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxf86bigfontproto/xorgxf86bigfontproto.mk b/xorgxf86bigfontproto/xorgxf86bigfontproto.mk @@ -3,7 +3,10 @@ TARG = xorgxf86bigfontproto <$mkbuild/mk.common-noinst xorgxf86bigfontproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxf86dgaproto/xorgxf86dgaproto.mk b/xorgxf86dgaproto/xorgxf86dgaproto.mk @@ -3,8 +3,10 @@ TARG = xorgxf86dgaproto <$mkbuild/mk.common-noinst xorgxf86dgaproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs - make install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxineramaproto/xorgxineramaproto.mk b/xorgxineramaproto/xorgxineramaproto.mk @@ -3,7 +3,10 @@ TARG = xorgxextproto <$mkbuild/mk.common-noinst xorgxextproto:QV: - ./configure \ - --prefix="$PREFIX" \ - --mandir="$ROOT/share/man" - make -j$nprocs install DESTDIR="`pwd`/lib" + ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ + --prefix="$PREFIX" \ + --mandir="$ROOT/share/man" + make -j$nprocs + make install DESTDIR="`pwd`/lib" diff --git a/xorgxproto/xorgxproto.mk b/xorgxproto/xorgxproto.mk @@ -4,6 +4,8 @@ TARG = xorgxproto xorgxproto:QV: ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" make -j$nprocs diff --git a/xorgxtrans/xorgxtrans.mk b/xorgxtrans/xorgxtrans.mk @@ -4,6 +4,8 @@ TARG = xorgxtrans xorgxtrans:QV: ./configure \ + --build="${TOOLCHAIN_TRIPLET}" \ + --host="${HOST_TOOLCHAIN_TRIPLET}" \ --prefix="$PREFIX" \ --mandir="$ROOT/share/man" make -j$nprocs