ports

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

commit 91b0bfac1186f3a359acd4d36d89567bc58dcf1f
parent f1fe09aa36e12773ad120c5c61acfcbdaea9cc0c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 20 May 2014 15:16:58 +0200

xorgserver: use as deps (for xf86-video-fbdev)

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

Diffstat:
Axorgserver/depsinc.mk | 6++++++
Mxorgserver/xorgserver.mk | 4++++
2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/xorgserver/depsinc.mk b/xorgserver/depsinc.mk @@ -0,0 +1,6 @@ +<$xorgserver_DEPDIR/v.mk + +xorgserver_libdir = $xorgserver_DEPDIR/xorg-server-$v/lib/lib +xorgserver_includedir = $xorgserver_DEPDIR/xorg-server-$v/lib/include/xorg +DEPS_CFLAGS = $DEPS_CFLAGS -I${xorgserver_includedir} +DEPS_LDFLAGS = $DEPS_LDFLAGS -L${xorgserver_libdir} diff --git a/xorgserver/xorgserver.mk b/xorgserver/xorgserver.mk @@ -59,6 +59,10 @@ xorgserver:QV: --with-sha1=libcrypto # NOTE: "-all-static" is needed. make -j$nprocs LDFLAGS="-all-static $LDFLAGS" + # install include files for dependency aswell (xorg-server-devel). + make -j$nprocs install LDFLAGS="-all-static $LDFLAGS" DESTDIR="`pwd`/lib" + # remove .la files for now ? + find "`pwd`/lib" -iname "*.la" -exec rm {} \; install:QV: # NOTE: "-all-static" is needed.