summaryrefslogtreecommitdiff
path: root/x11/xf86-video-sis
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-09-27 10:06:28 +0000
committerjperkin <jperkin@pkgsrc.org>2012-09-27 10:06:28 +0000
commit6f3f3c42fbcd2dd50ad7f5dae7f52e0950849b5d (patch)
tree0cf429b446cfdcb25626b32a66094561fb6e00ea /x11/xf86-video-sis
parent2f0b77ad8f16770e7d8f2e831d8e9806c8dd4383 (diff)
downloadpkgsrc-6f3f3c42fbcd2dd50ad7f5dae7f52e0950849b5d.tar.gz
Define DRIVER_MAN_SUFFIX on Solaris to the same as every other system, this
diverges from the standard layout on Solaris but ensures a consistent experience for pkgsrc packages. Fixes 31 packages on Solaris.
Diffstat (limited to 'x11/xf86-video-sis')
-rw-r--r--x11/xf86-video-sis/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/x11/xf86-video-sis/Makefile b/x11/xf86-video-sis/Makefile
index fd5d782a18d..d2d27e5ca81 100644
--- a/x11/xf86-video-sis/Makefile
+++ b/x11/xf86-video-sis/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2012/06/15 23:06:07 dholland Exp $
+# $NetBSD: Makefile,v 1.13 2012/09/27 10:06:31 jperkin Exp $
#
DISTNAME= xf86-video-sis-0.10.2
@@ -19,7 +19,8 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
-.include "../../mk/compiler.mk"
+.include "../../mk/bsd.prefs.mk"
+
.if !empty(PKGSRC_COMPILER:Mclang)
BUILD_DEPENDS+= ucpp-[0-9]*:../../devel/ucpp
CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
@@ -27,6 +28,10 @@ CONFIGURE_ENV+= ac_cv_path_RAWCPP="${PREFIX}/bin/ucpp -t -c90 -Uunix"
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
.endif
+.if ${OPSYS} == "SunOS"
+CONFIGURE_ENV+= DRIVER_MAN_SUFFIX=4
+.endif
+
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../x11/modular-xorg-server/buildlink3.mk"
.include "../../x11/randrproto/buildlink3.mk"