Changeset View
Changeset View
Standalone View
Standalone View
java/lightweight-java-profiler/Makefile
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Created by: Johannes Dieterich <jmd@FreeBSD.org> | |||||
# $FreeBSD$ | |||||
PORTNAME= lightweight-java-profiler | |||||
PORTVERSION= g20170308 | |||||
CATEGORIES= java devel | |||||
MAINTAINER= jmd@FreeBSD.org | |||||
COMMENT= Lightweight Java profiler which can be used for flamegraphs | |||||
LICENSE= APACHE20 | |||||
LICENSE_FILE= ${WRKSRC}/COPYING | |||||
BUILD_DEPENDS= bash>=0:shells/bash | |||||
RUN_DEPENDS= bash>=0:shells/bash | |||||
ONLY_FOR_ARCHS= amd64 i386 | |||||
ONLY_FOR_ARCHS_REASON= assembly only available for x86 | |||||
mat: This is not true, upstream says:
> It defaults to a 32-bit build; it will place the resulting… | |||||
Done Inline ActionsIt has inline assembly only for i386 and amd64. I think that rules out arm, mips, ... :-) jmd: It has inline assembly only for i386 and amd64. I think that rules out arm, mips, ... :-)
| |||||
Done Inline ActionsThen the message should not be "only builds and is supported on i386/amd64", which is already what ONLY_FOR_ARCH=amd64 i386 says, but "contains inline x86 assembly" mat: Then the message should not be "only builds and is supported on i386/amd64", which is already… | |||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= inevity | |||||
GH_TAGNAME= e8041b5 | |||||
USE_JAVA= yes | |||||
JAVA_VERSION= 1.8 | |||||
USE_LDCONFIG= yes | |||||
USES= gmake shebangfix | |||||
SHEBANG_FILES= Makefile | |||||
MAKE_ENV= JAVA_HOME=${LOCALBASE}/openjdk8 | |||||
.include <bsd.port.pre.mk> | |||||
.if ${ARCH} == "i386" | |||||
MAKE_ENV+= BITS=32 | |||||
.else | |||||
MAKE_ENV+= BITS=64 | |||||
.endif | |||||
PLIST_FILES= lib/liblagent.so | |||||
do-install: | |||||
${INSTALL_LIB} ${WRKSRC}/build/liblagent.so ${STAGEDIR}/${LOCALBASE}/lib/liblagent.so | |||||
.include <bsd.port.post.mk> |
This is not true, upstream says:
You could easily support both 32 and 64 bits builds.
Also, it says nothing about working only on x86, maybe it works on arm, mips...