8a502cb2d4
Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724
41 lines
920 B
Makefile
41 lines
920 B
Makefile
# Created by: vanilla
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rump
|
|
PORTVERSION= 20170822
|
|
PORTREVISION= 1
|
|
CATEGORIES= misc
|
|
|
|
MAINTAINER= vanilla@FreeBSD.org
|
|
COMMENT= Virtualized NetBSD kernel components in userspace
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
NOT_FOR_ARCHS= armv6 armv7 mips mips64 powerpc powerpc64 sparc64
|
|
NOT_FOR_ARCHS_REASON= not yet ported to 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
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == amd64 || ${ARCH} == i386
|
|
PLIST_SUB+= X8664=""
|
|
.else
|
|
PLIST_SUB+= X8664="@comment "
|
|
.endif
|
|
|
|
CFLAGS+= -Wno-address-of-packed-member
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${SETENV} CC=${CC} AR=${AR} NM=${NM} OBJCOPY=${OBJCOPY} ./buildrump.sh -F CFLAGS="${CFLAGS}" -r fullbuild
|
|
|
|
do-install:
|
|
cd ${WRKSRC}/rump; ${PAX} -wr lib include ${STAGEDIR}${PREFIX}/
|
|
|
|
.include <bsd.port.post.mk>
|