ports

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

xorglibxfont.mk (605B)


      1 TARG = xorglibxfont
      2 DEPS = freetype zlib xorgxproto xorglibfontenc xorgxtrans xorgfontsproto
      3 
      4 <$mkbuild/mk.common-noinst
      5 
      6 xorglibxfont:QV:
      7 	export CFLAGS="$CFLAGS $DEPS_CFLAGS"
      8 	export LDFLAGS="$LDFLAGS $DEPS_LDFLAGS"
      9 	export FREETYPE_CFLAGS="-I${freetype_includedir}"
     10 	export FREETYPE_LIBS="-L${freetype_libdir} -lfreetype"
     11 	export XFONT_CFLAGS=" "
     12 	export XFONT_LIBS=" "
     13 	CC="$CC" ./configure \
     14 		--prefix="$PREFIX" --mandir="$ROOT/share/man" \
     15 		--disable-shared \
     16 		--enable-static
     17 	make -j$nprocs install DESTDIR="`pwd`/lib"
     18 	# remove .la files for now ?
     19 	find `pwd`/lib -iname "*.la" -exec rm {} \;