summaryrefslogtreecommitdiff
path: root/www/links/options.mk
blob: 26ca0bc41b0cc68ba16ad78a35d8577adb8686d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: options.mk,v 1.1 2007/10/16 17:12:23 bjs Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.links
PKG_SUPPORTED_OPTIONS=	bzip2 links-zlib
PKG_SUGGESTED_OPTIONS=	bzip2 links-zlib

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mbzip2)
.  include "../../archivers/bzip2/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-bzip2
.endif

.if !empty(PKG_OPTIONS:Mlinks-zlib)
.  include "../../devel/zlib/buildlink3.mk"
.else
CONFIGURE_ARGS+=	--without-zlib
.endif