This package is from complete or polished and were unabashedly haphazardly put together. You have been warned, and please let me know about any problems, etc. Many thanks to Jeremy Reed for doing the bulk of the work (patches).
17 lines
567 B
Makefile
17 lines
567 B
Makefile
# $NetBSD: hacks.mk,v 1.1 2007/01/23 17:49:34 bsadewitz Exp $
|
|
|
|
.if !defined(MESALIBS_HACKS_MK)
|
|
MESALIBS_HACKS_MK= # defined
|
|
|
|
### [Fri Dec 30 21:00:59 CET 2005 : schwarz]
|
|
### make sys/types.h not conflict with inttypes.h
|
|
### (issue is specific to IRIX 5.3)
|
|
###
|
|
.if ${LOWER_OPSYS} == "irix5.3"
|
|
PKG_HACKS+= sys_types_h-inttypes_h-conflict
|
|
post-wrapper:
|
|
${MKDIR} ${BUILDLINK_DIR}/include/sys && ${GREP} -v '^typedef.*[^u_]int[12368]*_t;' /usr/include/sys/types.h > ${BUILDLINK_DIR}/include/sys/types.h
|
|
# should match int8_t, int16_t, and int32_t (only)
|
|
.endif
|
|
|
|
.endif
|