b71a1d488b
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
14 lines
304 B
Makefile
14 lines
304 B
Makefile
# $NetBSD: hacks.mk,v 1.3 2005/12/05 20:50:56 rillig Exp $
|
|
|
|
.if !defined(GNUPG_HACKS_MK)
|
|
GNUPG_HACKS_MK= # defined
|
|
|
|
### workaround for a GCC optimizer bug on sparc:
|
|
### drop any -mcpu flag
|
|
###
|
|
.if ${MACHINE_ARCH} == "sparc"
|
|
PKG_HACKS+= mcpu
|
|
BUILDLINK_TRANSFORM+= rm:-mcpu=.*
|
|
.endif
|
|
|
|
.endif
|