2012-10-29 06:06:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.14 2012/10/29 05:07:06 asau 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
|
|
|
|
|
2007-08-15 20:03:32 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-dri
|
|
|
|
|
2012-06-16 01:06:02 +02:00
|
|
|
USE_LIBTOOL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_TOOLS+= pkg-config
|
2007-03-22 16:44:20 +01:00
|
|
|
|
2012-09-27 12:06:28 +02:00
|
|
|
.include "../../mk/bsd.prefs.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
|
|
|
|
|
2012-09-27 12:06:28 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
CONFIGURE_ENV+= DRIVER_MAN_SUFFIX=4
|
|
|
|
.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"
|