pkgsrc/security/libprelude-perl/Makefile
seb c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00

44 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2010/08/21 16:35:35 seb Exp $
PKGNAME= libprelude-perl-${VERSION}
PKGREVISION= 2
COMMENT= Perl bindings to LibPrelude
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../security/libprelude/Makefile.common"
CONFIGURE_ARGS+= --with-perl=${PERL5:Q}
CONFIGURE_ARGS+= --with-perl-installdirs=vendor
USE_TOOLS+= perl:run
PERL5_PACKLIST= auto/Prelude/.packlist
PERL5_PACKLIST+= auto/PreludeEasy/.packlist
PERL5_CONFIGURE= no
# something overrides USE_LANGUAGES from Makefile.common so repeat this here
USE_LANGUAGES= c c++
.include "../../lang/perl5/module.mk"
PLIST_SRC=
BUILD_DIRS= bindings/low-level/perl bindings/perl
PKG_OPTIONS_VAR= PKG_OPTIONS.libprelude
PKG_SUPPORTED_OPTIONS= debug
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mdebug)
CFLAGS= -O0 -ggdb
.endif
do-build:
cd ${WRKSRC}/bindings && ${MAKE} perl-build
cd ${WRKSRC}/bindings/low-level && ${MAKE} perl-build
.include "../../devel/libltdl/convenience.mk"
.include "../../security/gnutls/buildlink3.mk"
.include "../../security/gnutls/libgnutls-config.mk"
.include "../../security/libprelude/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"