2012-04-17 19:52:53 +02:00
|
|
|
# $NetBSD: Makefile,v 1.11 2012/04/17 17:52:53 joerg Exp $
|
2007-03-22 16:44:20 +01:00
|
|
|
#
|
|
|
|
|
2009-08-10 00:56:13 +02:00
|
|
|
DISTNAME= xf86-video-sis-0.10.2
|
2010-09-14 13:00:44 +02:00
|
|
|
PKGREVISION= 1
|
2007-03-22 16:44:20 +01:00
|
|
|
CATEGORIES= x11
|
2008-05-24 23:45:14 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=driver/}
|
2007-03-22 16:44:20 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= joerg@NetBSD.org
|
2008-05-24 23:45:14 +02:00
|
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
2007-03-22 16:44:20 +01:00
|
|
|
COMMENT= Modular Xorg SiS and XGI video driver
|
|
|
|
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2007-08-15 20:03:32 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-dri
|
|
|
|
|
2007-03-22 16:44:20 +01:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
|
2009-10-25 13:15:54 +01:00
|
|
|
.include "../../mk/compiler.mk"
|
2012-04-17 19:52:53 +02:00
|
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
|
|
BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
|
|
|
|
.elif empty(PKGSRC_COMPILER:Mgcc)
|
2009-10-25 13:15:54 +01:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
|
|
|
|
.endif
|
|
|
|
|
2007-03-22 16:44:20 +01:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../x11/modular-xorg-server/buildlink3.mk"
|
|
|
|
.include "../../x11/randrproto/buildlink3.mk"
|
|
|
|
.include "../../x11/renderproto/buildlink3.mk"
|
|
|
|
.include "../../x11/videoproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xf86dgaproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xf86miscproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xineramaproto/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|