aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-GDBM
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
committerlinimon <linimon@FreeBSD.org>2007-09-08 09:12:10 +0800
commit9ccc7e92dea72d32d4ae04470bbce43e6f9227da (patch)
tree20264757b2346c435477e3f6cfdf324086bbafe9 /databases/p5-GDBM
parent07d9e093a64a0c7f96ed0775d50e0f818d98fd80 (diff)
downloadfreebsd-ports-graphics-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.gz
freebsd-ports-graphics-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.tar.zst
freebsd-ports-graphics-9ccc7e92dea72d32d4ae04470bbce43e6f9227da.zip
Welcome bsd.perl.mk. Add support for constructs such as USE_PERL5=5.8.0+.
Drop support for antique perl. Work done by: gabor Sponsored by: Google Summer of Code 2007 Hat: portmgr
Diffstat (limited to 'databases/p5-GDBM')
-rw-r--r--databases/p5-GDBM/Makefile10
1 files changed, 2 insertions, 8 deletions
diff --git a/databases/p5-GDBM/Makefile b/databases/p5-GDBM/Makefile
index edfaf6bc098..67739f55d1c 100644
--- a/databases/p5-GDBM/Makefile
+++ b/databases/p5-GDBM/Makefile
@@ -20,7 +20,7 @@ COMMENT= GNU Data Base Manager (gdbm) interface
LIB_DEPENDS= gdbm.3:${PORTSDIR}/databases/gdbm
USE_BZIP2= yes
-PERL_CONFIGURE= yes
+PERL_CONFIGURE= 5.8.0+
EXTRACT_AFTER_ARGS= | ${TAR} -xf - ${DISTNAME}/ext/GDBM_File
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/GDBM_File
CFLAGS= -I${LOCALBASE}/include
@@ -29,10 +29,4 @@ MAN3= GDBM_File.3
post-patch:
@${REINPLACE_CMD} -e '/MAN3PODS/s|.*||' ${WRKSRC}/Makefile.PL
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500800
-IGNORE= requires perl from ports. Install lang/perl5.8 and try again
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>