diff options
author | cheusov <cheusov@pkgsrc.org> | 2011-11-14 14:07:35 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2011-11-14 14:07:35 +0000 |
commit | 4163f37971905527579ed40bb1e5214d6cfe00f1 (patch) | |
tree | e55ed7064c364716c9afa214cf993e02456e5e71 /x11 | |
parent | 4d30464201dea84c1aba5ead8095baed066d00fe (diff) | |
download | pkgsrc-4163f37971905527579ed40bb1e5214d6cfe00f1.tar.gz |
Add inet6 option as requiested in PR 37117. Tested on current.
Approved by wiz@.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/libXfont/Makefile | 4 | ||||
-rw-r--r-- | x11/libXfont/options.mk | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11/libXfont/Makefile b/x11/libXfont/Makefile index 6fd09db80b6..232aa46cdd3 100644 --- a/x11/libXfont/Makefile +++ b/x11/libXfont/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2011/11/14 13:34:10 cheusov Exp $ +# $NetBSD: Makefile,v 1.21 2011/11/14 14:07:35 cheusov Exp $ # DISTNAME= libXfont-1.4.4 @@ -21,6 +21,8 @@ PKGCONFIG_OVERRIDE+= xfont.pc.in CONFIGURE_ARGS+= --disable-devel-docs +.include "options.mk" + .include "../../devel/zlib/buildlink3.mk" .include "../../graphics/freetype2/buildlink3.mk" .include "../../x11/fontcacheproto/buildlink3.mk" diff --git a/x11/libXfont/options.mk b/x11/libXfont/options.mk new file mode 100644 index 00000000000..7ff5d204456 --- /dev/null +++ b/x11/libXfont/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2011/11/14 14:07:35 cheusov Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.libXfont +PKG_SUPPORTED_OPTIONS+= inet6 + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Minet6) +CONFIGURE_ARGS+= --enable-ipv6 +.else +CONFIGURE_ARGS+= --disable-ipv6 +.endif |