From 55f95f61e0c4a7d701a058fdc6b1ca971850e502 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Fri, 2 Dec 2005 23:02:31 +0000 Subject: These are actually only broken on 4.x so fix markings. Reported by: kris Pointy hat to: brooks --- misc/gpt/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'misc/gpt') diff --git a/misc/gpt/Makefile b/misc/gpt/Makefile index 080c2fc49ecd..c4dd2e1870fc 100644 --- a/misc/gpt/Makefile +++ b/misc/gpt/Makefile @@ -17,8 +17,6 @@ COMMENT= Grid Packaging Tools (used to install Globus) CONFLICTS= gpt-3.1 -BROKEN= "Does not build" - RUN_DEPENDS+= ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \ ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \ @@ -53,6 +51,12 @@ FIX_VAR_FILES= ${WRKSRC}/packaging_tools/perl/GPT/Localize.pm \ ${WRKSRC}/packaging_tools/perl/scripts/gpt-config \ ${WRKSRC}/tools/testArchiveTar +.include + +.if ${OSVERSION} < 500000 +BROKEN= "Does not build" +.endif + post-patch: @${REINPLACE_CMD} -e "s|@@PERL@@|${PERL}|g" ${WRKSRC}/build_gpt @${REINPLACE_CMD} -e 's|$$gpath/var/lib/perl|/var/db/gpt|g' ${FIX_VAR_FILES} @@ -62,4 +66,4 @@ do-install: @cd ${WRKSRC}; \ GPT_LOCATION=${PREFIX} ./build_gpt --with-perl=${PERL} -.include +.include -- cgit v1.2.3