--- smage/trunk/include/xorg.sminc 2011/11/22 21:11:46 3321 +++ smage/trunk/include/xorg.sminc 2012/07/09 17:41:43 3574 @@ -1,4 +1,4 @@ -# $Header: /magellan-cvs/smage/include/xorg.sminc,v 1.18 2008/02/16 11:26:47 niro Exp $ +# $Id$ # xorg global smage2 functions # must: X11_dir (defaults to /usr in sminc) @@ -94,7 +94,7 @@ XORG_MIRROR="http://xorg.freedesktop.org/archive" # get the right subdir -case ${PCATEGORIE} in +case ${PCAT} in app-doc) URISUBDIR="doc" ;; media-fonts) URISUBDIR="font" ;; x11-apps) URISUBDIR="app" ;; @@ -129,8 +129,8 @@ ) # add default deps -#DEPEND="${DEPEND} -# >= sys-apps/man-1.6" +DEPEND="${DEPEND} + >= virtual/man" SDEPEND="${SDEPEND} >= dev-util/pkgconfig-0.20 @@ -139,14 +139,14 @@ # font dependencies if is_xorg_font then - SDEPEND="${DEPEND} + DEPEND="${DEPEND} >= x11-apps/mkfontscale-1 >= x11-apps/mkfontdir-1 >= media-fonts/font-alias-1" # encodings are run-time needed to rebuild the font.dirs files !! # so don't use SDEPEND but DEPEND here! - SDEPEND="${DEPEND} + DEPEND="${DEPEND} >= media-fonts/encodings-1" XORG_FONT_PKG=yes @@ -233,6 +233,12 @@ mmake || die } +xorg_src_check() +{ + cd ${SRCDIR} + mmake -k check || die +} + xorg_src_install() { cd ${SRCDIR} @@ -258,4 +264,4 @@ # fi } -export_inherits xorg src_prepare src_compile src_install preinstall +export_inherits xorg src_prepare src_compile src_check src_install preinstall