pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problems building MesaLib on NetBSD-8



On Thu, May 17, 2018 at 02:56:43PM +0100, Dave Tyson wrote:
> I have been trying to get graphics/MesaLib to install under NetBSD-8 and 
> seem to be having problems with configure not finding some components 
> despite them being present.  This is a very recent pkgsrc-current 
> against a recent NetBSD-8 snapshot. I am using the built-in X stuff.

this is probably a violent hack but an interim solution that won't
negatively affect anyone
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/MesaLib/options.mk,v
retrieving revision 1.58
diff -u -r1.58 options.mk
--- options.mk	24 Mar 2018 22:11:14 -0000	1.58
+++ options.mk	17 May 2018 15:30:23 -0000
@@ -14,8 +14,8 @@
 
 .if ${OPSYS} == "FreeBSD" || ${OPSYS} == "OpenBSD" ||		\
 	${OPSYS} == "DragonFly" || ${OPSYS} == "Linux" ||	\
-	${OPSYS} == "SunOS" || ${OPSYS} == "NetBSD" ||		\
-	${OPSYS} == "Darwin"
+	${OPSYS} == "SunOS" || ${OPSYS} == "Darwin" ||		\
+	(${OPSYS} == "NetBSD" && ${X11_TYPE} == "modular")
 PKG_SUGGESTED_OPTIONS+=		dri
 .endif
 


Home | Main Index | Thread Index | Old Index