pkgsrc/graphics/netpbm/hacks.mk
rillig b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00

26 lines
561 B
Makefile

# $NetBSD: hacks.mk,v 1.2 2005/12/05 20:50:21 rillig Exp $
.if !defined(NETPBM_HACKS_MK)
NETPBM_HACKS_MK= # defined
### [historic : ???]
### gcc optimization fixes
###
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
PKG_HACKS+= optimization
GCC_REQD+= 2.95.3
.endif
.if ${MACHINE_ARCH} == "alpha"
PKG_HACKS+= optimization
GCC_REQD+= 3.0
.endif
### [Mon Jan 24 20:47:14 UTC 2005 : tv]
### substitute for <inttypes.h> on Interix
###
.if ${OPSYS} == "Interix"
PKG_HACKS+= standard-headers
MAKE_FLAGS+= INTTYPES_H='<sys/types.h>'
.endif
.endif