naddy cfbb239b6a Remove SHARED_ONLY from all CPAN Perl ports and the cpan and perl MODULES.
Add WANTLIB+=perl and PKG_ARCH=* as appropriate.
2016-03-20 19:56:05 +00:00

24 lines
543 B
Makefile

# $OpenBSD: Makefile,v 1.32 2016/03/20 19:56:15 naddy Exp $
COMMENT = module for easy date and time manipulation
DISTNAME = Class-Date-1.1.15
CATEGORIES = devel
MAINTAINER = Alexander Bluhm <bluhm@openbsd.org>
# Perl
PERMIT_PACKAGE_CDROM = Yes
MODULES = cpan
PKG_ARCH = *
# In Date.xs the tm_zone field is not set so the test t/50_timezone.t
# fails. Instead of implementing strftime_xs locally, use the POSIX
# module which has the propper fixes in Perl_my_strftime().
post-patch:
rm ${WRKDIST}/Date.xs
.include <bsd.port.mk>