freebsd-ports/devel/heaptrack/Makefile
Adriaan de Groot 367e6bacf4 devel/heaptrack Try to fix 32-bit build
I don't see that this can ever have built on 32-bit FreeBSD (i386
in particular) because the code uses Sxword, which our elf32.h
doesn't define. The Linux elf.h (which hanbles both sizes) does
define a 64-bit Sxword.

The patch throws in a using (typedef, but C++-style) that mimics
the 64-bit integers used in the Linux headers; this 64-bit value
doesn't match the size of Elf32_Dyn fields in either OS, but
I'll take a warning over non-stop build failures any day.
2020-06-01 23:20:08 +00:00

31 lines
773 B
Makefile

# $FreeBSD$
PORTNAME= heaptrack
DISTVERSIONPREFIX= v
DISTVERSION= 1.1.0-179
DISTVERSIONSUFFIX= -gb0f8f2d
PORTREVISION= 1
CATEGORIES= devel kde
MAINTAINER= kde@FreeBSD.org
COMMENT= Heap memory profiler
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_regex.so:devel/boost-libs \
libunwind.so:devel/libunwind \
libKChart.so:graphics/kdiagram
USES= cmake compiler:c++11-lang desktop-file-utils kde:5 \
localbase qt:5 tar:xz
USE_GITHUB= yes
GH_ACCOUNT= KDE
USE_KDE= auth auth codecs completion config config \
configwidgets coreaddons ecm i18n itemmodels \
jobwidgets kio kio service threadweaver \
widgetsaddons windowsystem
USE_QT= concurrent core dbus gui network widgets xml \
buildtools_build qmake_build
.include <bsd.port.mk>