7fbb8d9527
of Perl files to deal with the perl-5.8.7 update that moved all pkgsrc-installed Perl files into the "vendor" directories.
26 lines
658 B
Makefile
26 lines
658 B
Makefile
# $NetBSD: options.mk,v 1.4 2005/08/06 06:19:04 jlam Exp $
|
|
#
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.silc-client
|
|
PKG_SUPPORTED_OPTIONS= debug inet6 perl
|
|
PKG_SUGGESTED_OPTIONS= perl
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CONFIGURE_ARGS+= --enable-debug
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Minet6)
|
|
CONFIGURE_ARGS+= --enable-ipv6
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mperl)
|
|
CONFIGURE_ARGS+= --with-perl-lib=${PREFIX}/lib/${PKGBASE}/perl5
|
|
. include "../../lang/perl5/buildlink3.mk"
|
|
DEPENDS+= p5-File-MMagic>=1.20:../../misc/p5-File-MMagic
|
|
PLIST_SRC+= ${PKGDIR}/PLIST.perl
|
|
PLIST_SRC+= ${WRKDIR}/PLIST.perl
|
|
.else
|
|
CONFIGURE_ARGS+= --with-perl=no
|
|
.endif
|