aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gpt31
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-12-03 07:02:31 +0800
committerbrooks <brooks@FreeBSD.org>2005-12-03 07:02:31 +0800
commit081ed1d4837e49dc53e62e4f4170b7681be94656 (patch)
tree6c6714fc33f7392eec1d9490db3d0a262713b50f /misc/gpt31
parent4e1b2a88053329b6163cb3b58228a8097e342e2d (diff)
downloadfreebsd-ports-gnome-081ed1d4837e49dc53e62e4f4170b7681be94656.tar.gz
freebsd-ports-gnome-081ed1d4837e49dc53e62e4f4170b7681be94656.tar.zst
freebsd-ports-gnome-081ed1d4837e49dc53e62e4f4170b7681be94656.zip
These are actually only broken on 4.x so fix markings.
Reported by: kris Pointy hat to: brooks
Diffstat (limited to 'misc/gpt31')
-rw-r--r--misc/gpt31/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/misc/gpt31/Makefile b/misc/gpt31/Makefile
index 81f0e6004db3..b19a031032db 100644
--- a/misc/gpt31/Makefile
+++ b/misc/gpt31/Makefile
@@ -18,8 +18,6 @@ COMMENT= Grid Packaging Tools (used to install Globus)
CONFLICTS= gpt-*
NO_LATEST_LINK= YES
-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 \
@@ -54,6 +52,12 @@ FIX_VAR_FILES= ${WRKSRC}/packaging_tools/perl/GPT/Localize.pm \
${WRKSRC}/packaging_tools/perl/scripts/gpt-config \
${WRKSRC}/tools/testArchiveTar
+.include <bsd.port.pre.mk>
+
+.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}
@@ -63,4 +67,4 @@ do-install:
@cd ${WRKSRC}; \
GPT_LOCATION=${PREFIX} ./build_gpt --with-perl=${PERL}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>