ports

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

xorglibxrender.mk (690B)


      1 TARG = xorglibxrender
      2 DEPS = xorglibx11 xorgxproto xorgrenderproto
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 xorglibxrender:QV:
      7 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
      8 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
      9 	# TODO: includedir, libdir is a bug?
     10 	export RENDER_CFLAGS="-I${xorgrenderproto_libdir}"
     11 	export RENDER_LIBS="-L${xorgrenderproto_libdir}"
     12 	# HAVE__XEATDATAWORDS is set, but it isn't detected with configure
     13 	# set set it.
     14 	CC="$CC" CFLAGS="$CFLAGS -DHAVE__XEATDATAWORDS=1" ./configure \
     15 		--prefix="$PREFIX" --mandir="$ROOT/share/man" \
     16 		--disable-shared \
     17 		--enable-static
     18 	make -j$nprocs install DESTDIR="`pwd`/lib"
     19 	# remove .la files for now ?
     20 	find `pwd`/lib -iname "*.la" -exec rm {} \;