1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/misc/rump/Makefile
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

47 lines
1.1 KiB
Makefile

PORTNAME= rump
PORTVERSION= 20170822
PORTREVISION= 3
CATEGORIES= misc
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Virtualized NetBSD kernel components in userspace
WWW= https://www.rumpkernel.org
LICENSE= BSD2CLAUSE
ONLY_FOR_ARCHS= aarch64 amd64 i386
ONLY_FOR_ARCHS_REASON= only supports FreeBSD on this architecture
USE_GITHUB= yes
GH_ACCOUNT= rumpkernel
GH_PROJECT= buildrump.sh
GH_TAGNAME= b914579
GH_TUPLE= rumpkernel:src-netbsd:82f3a69:netbsd/src
USE_LDCONFIG= yes
USES= compiler
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=strict-prototypes -Wno-error=array-parameter
.endif
.if ${ARCH} == amd64 || ${ARCH} == i386
PLIST_SUB+= X8664=""
.else
PLIST_SUB+= X8664="@comment "
.endif
CWARNFLAGS+= -Wno-address-of-packed-member
.if ${COMPILER_TYPE} == clang
CWARNFLAGS+= -Wno-unused-but-set-variable
.endif
do-build:
cd ${WRKSRC}; ${SETENV} CC=${CC} AR=${AR} NM=${NM} OBJCOPY=${OBJCOPY} ./buildrump.sh -F CFLAGS="${CFLAGS}" -F CWARNFLAGS="${CWARNFLAGS}" -r fullbuild
do-install:
cd ${WRKSRC}/rump; ${PAX} -wr lib include ${STAGEDIR}${PREFIX}/
.include <bsd.port.post.mk>