From d0deb1258a1381cf7258faeb347c195391015dff Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Tue, 9 Nov 2004 19:44:14 +0000 Subject: [PATCH] - portlint: reduces COMMENT to less than 70 chars - build Perl API no longer by default (but allow WITH_PERL to enable it) - IGNORE package on WITH_PERL and installed Perl is not 5.8.0 or higher --- misc/ossp-uuid/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile index 9f4c8327b300..117b8c41563b 100644 --- a/misc/ossp-uuid/Makefile +++ b/misc/ossp-uuid/Makefile @@ -13,7 +13,7 @@ MASTER_SITE_SUBDIR= lib/${PORTNAME} PKGNAMEPREFIX= ossp- MAINTAINER= ports@FreeBSD.org -COMMENT= An ISO-C & Perl API and CLI for generating Universally Unique Identifiers (UUID) +COMMENT= ISO-C & Perl API and CLI for generating Universally Unique Identifiers CONFLICTS= e2fsprogs-[0-9]* @@ -24,7 +24,7 @@ CONFIGURE_ARGS+= --disable-shared --enable-static MAN1= uuid-config.1 uuid.1 MAN3= uuid.3 -.if !defined(WITHOUT_PERL) +.if defined(WITH_PERL) USE_PERL5= yes CONFIGURE_ENV+= PERL=${PERL5} CONFIGURE_ARGS+= --with-perl @@ -38,4 +38,10 @@ PLIST_SUB+= WITH_PERL='@comment ' test: cd ${WRKSRC}; ${MAKE} check -.include +.include + +.if defined(WITH_PERL) && ${PERL_LEVEL} < 500800 +IGNORE= supports Perl 5.8.0 or above only +.endif + +.include