pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/fox Fix building on NetBSD < 3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/caa3dff3c9f2
branches:  trunk
changeset: 497337:caa3dff3c9f2
user:      adam <adam%pkgsrc.org@localhost>
date:      Mon Jul 25 12:49:56 2005 +0000

description:
Fix building on NetBSD < 3.0

diffstat:

 x11/fox/Makefile      |  9 ++++++++-
 x11/fox/buildlink3.mk |  5 ++---
 2 files changed, 10 insertions(+), 4 deletions(-)

diffs (44 lines):

diff -r 41a8c017b67a -r caa3dff3c9f2 x11/fox/Makefile
--- a/x11/fox/Makefile  Mon Jul 25 12:49:08 2005 +0000
+++ b/x11/fox/Makefile  Mon Jul 25 12:49:56 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/07/25 10:53:43 adam Exp $
+# $NetBSD: Makefile,v 1.26 2005/07/25 12:49:56 adam Exp $
 
 DISTNAME=      fox-1.4.16
 CATEGORIES=    x11
@@ -16,6 +16,13 @@
 CONFIGURE_ARGS+=       --with-shm
 CONFIGURE_ARGS+=       --with-x
 
+.include "../../mk/bsd.prefs.mk"
+
+# NetBSD < 3.0 does not have getpwnam_r() getpwuin_r()
+.if (${OPSYS} == "NetBSD") && (${OS_VERSION:R} < 3)
+CONFIGURE_ARGS+=       --disable-threadsafe
+.endif
+
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../graphics/glu/buildlink3.mk"
 .include "../../graphics/jpeg/buildlink3.mk"
diff -r 41a8c017b67a -r caa3dff3c9f2 x11/fox/buildlink3.mk
--- a/x11/fox/buildlink3.mk     Mon Jul 25 12:49:08 2005 +0000
+++ b/x11/fox/buildlink3.mk     Mon Jul 25 12:49:56 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2005/07/25 10:59:44 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2005/07/25 12:49:56 adam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 FOX_BUILDLINK3_MK:=    ${FOX_BUILDLINK3_MK}+
@@ -16,10 +16,9 @@
 BUILDLINK_INCDIRS.fox?=                include/fox-1.4
 .endif # FOX_BUILDLINK3_MK
 
+.include "../../graphics/glu/buildlink3.mk"
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../graphics/tiff/buildlink3.mk"
-.include "../../graphics/MesaLib/buildlink3.mk"
-.include "../../graphics/glu/buildlink3.mk"
 
 BUILDLINK_DEPTH:=     ${BUILDLINK_DEPTH:S/+$//}



Home | Main Index | Thread Index | Old Index