ports/devel/p5-Data-MessagePack-Stream/Makefile
Muhammad Moinur Rahman bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00

38 lines
1.1 KiB
Makefile

PORTNAME= Data-MessagePack-Stream
PORTVERSION= 1.05
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for yet another messagepack streaming deserializer
WWW= https://metacpan.org/release/Data-MessagePack-Stream
BROKEN_mips= fails to build: atomic operations are not found
BROKEN_mips64= fails to build: atomic operations are not found
BUILD_DEPENDS= p5-File-Which>=0:sysutils/p5-File-Which \
p5-Module-Build-XSUtil>=0:devel/p5-Module-Build-XSUtil \
${RUN_DEPENDS}
LIB_DEPENDS= libmsgpackc.so:devel/msgpack-c
RUN_DEPENDS= p5-Data-MessagePack>=0:devel/p5-Data-MessagePack
USES= localbase:ldflags perl5
USE_PERL5= modbuild
CFLAGS_aarch64= -fPIC
CFLAGS_armv7= -fPIC
CFLAGS_i386= -fPIC
CFLAGS_powerpc= -fPIC
CFLAGS_riscv64= -fPIC
MAKE_JOBS_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/builder/MyBuilder.pm
# Clean up bundled libraries
@${RM} -r ${WRKSRC}/msgpack-3.3.0/
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Data/MessagePack/Stream/Stream.so
.include <bsd.port.mk>