pkgsrc-Bugs archive

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

Re: pkg/43890 (several python extensions don't build on solaris with gcc-4.4.3)



sys/feature_tests.h states "Applications must NOT use these private
test macros as unexpected results will occur." regarding _XPG6 and the
like.

Do these patch solve the py-cairo problem for you:

Index: Makefile
===================================================================
RCS file: /usr/cvs/pkgsrc/graphics/py-cairo/Makefile,v
retrieving revision 1.29
diff -w -u -b -r1.29 Makefile
--- Makefile    25 Feb 2011 09:47:23 -0000      1.29
+++ Makefile    21 Mar 2011 23:04:07 -0000
@@ -32,6 +32,10 @@
 BUILDLINK_TRANSFORM+=  rm:-std=c99
 .endif

+.if ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+=  rm:-std=c99
+.endif
+
 .include "../../lang/python/extension.mk"
 BUILDLINK_API_DEPENDS.cairo+=  cairo>=1.8.10
 .include "../../graphics/cairo/buildlink3.mk"


Home | Main Index | Thread Index | Old Index