blob: 66904c9dacfb3a7773c573cd019f252578ece4dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# $NetBSD: hacks.mk,v 1.1 2007/10/31 11:56:44 markd Exp $
.if !defined(KDEBASE3_HACKS_MK)
KDEBASE3_HACKS_MK= # defined
### issue is specific to xproto IPv6 support
.if empty(PKG_OPTIONS:Minet6)
PKG_HACKS+= X11_X_h
post-wrapper:
${SED} 's,^#define FamilyInternet6.*,/* undef FamilyInternet6 */,' \
${BUILDLINK_DIR}/include/X11/X.h >${BUILDLINK_DIR}/include/X11/X.h.new
${MV} ${BUILDLINK_DIR}/include/X11/X.h.new ${BUILDLINK_DIR}/include/X11/X.h
.endif
.endif
|