mirror of
https://git.freebsd.org/ports.git
synced 2025-05-23 04:03:14 -04:00
- Mark BROKEN on amd64: mv -f priv/.deps/libvex_amd64_freebsd_a-guest_x86_toIR.Tpo priv/.deps/libvex_amd64_freebsd_a-guest_x86_toIR.Po cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../VEX/pub -DVGA_amd64=1 -DVGO_freebsd=1 -DVGP_amd64_freebsd=1 -DVGPV_amd64_freebsd_vanilla=1 -Ipriv -m64 -fomit-frame-pointer -O2 -g -Wall -Wmissing-prototypes -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations -Wno-format-zero-length -fno-strict-aliasing -fno-builtin -Wbad-function-cast -Wcast-qual -Wcast-align -fstrict-aliasing -Wno-long-long -O2 -pipe -fno-strict-aliasing -Wwrite-strings -fno-stack-protector -MT priv/libvex_amd64_freebsd_a-guest_amd64_helpers.o -MD -MP -MF priv/.deps/libvex_amd64_freebsd_a-guest_amd64_helpers.Tpo -c -o priv/libvex_amd64_freebsd_a-guest_amd64_helpers.o `test -f 'priv/guest_amd64_helpers.c' || echo './'`priv/guest_amd64_helpers.c {standard input}: Assembler messages: {standard input}:1524: Error: no such instruction: `rdtscp' gmake[3]: *** [priv/libvex_amd64_freebsd_a-guest_amd64_helpers.o] Error 1 gmake[3]: Leaving directory `/wrkdirs/usr/ports/devel/valgrind-devel/work/valgrind-freebsd-3.9.0.rc1/VEX' gmake[2]: *** [install] Error 2
87 lines
1.9 KiB
Makefile
87 lines
1.9 KiB
Makefile
# Created by: Simon Barner <barner@gmx.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= valgrind
|
|
DISTVERSIONPREFIX= freebsd-
|
|
DISTVERSION= 3.9.0.rc1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://cdn.bitbucket.org/stass/valgrind-freebsd/downloads/ \
|
|
http://mirror.shatow.net/freebsd/${PORTNAME}/
|
|
PKGNAMESUFFIX= -devel
|
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
|
COMMENT= Memory debugging and profiling tool
|
|
|
|
LICENSE= GPLv2
|
|
|
|
CONFLICTS= valgrind-[0-9]*
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
LIB32_PATH?= ${DESTDIR}/usr/lib32/libc.so
|
|
|
|
BUILD_DEPENDS+= docbook-xsl>=0:${PORTSDIR}/textproc/docbook-xsl \
|
|
xsltproc:${PORTSDIR}/textproc/libxslt
|
|
|
|
OPTIONS_DEFINE= MPI
|
|
OPTIONS_DEFINE_amd64= 32BIT
|
|
#.if exists(${LIB32_PATH})
|
|
#OPTIONS_DEFAULT_amd64= 32BIT
|
|
#.endif
|
|
32BIT_DESC= Enable debugging of 32-bit programs (requires lib32)
|
|
MPI_DESC= Enable build of MPI wrappers
|
|
|
|
MPI_LIB_DEPENDS= mpich:${PORTSDIR}/net/mpich2
|
|
|
|
OPTIONS_SUB= yes
|
|
USES= pathfix pkgconfig gmake perl5 shebangfix tar:bzip2
|
|
USE_PERL5= build
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
PORTDOCS= html
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
|
|
CONFIGURE_ENV+= ac_cv_path_PERL=${PERL}
|
|
|
|
BROKEN_amd64= Fails to build
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:M32BIT}
|
|
BROKEN= Currently does not build with 32bit support
|
|
.endif
|
|
|
|
.if ${ARCH} == "amd64"
|
|
PLIST_SUB+= AMD64="" ARCH=amd64
|
|
. if !${PORT_OPTIONS:M32BIT}
|
|
CONFIGURE_ARGS+= --enable-only64bit
|
|
PLIST_SUB+= X86="@comment "
|
|
. else
|
|
. if !exists(${LIB32_PATH})
|
|
IGNORE=The lib32 distribution was not found. Please install the lib32\
|
|
distribution or run 'make config' and uncheck 32BIT option
|
|
. endif
|
|
PLIST_SUB+= X86=""
|
|
. endif
|
|
.else
|
|
PLIST_SUB+= X86="" ARCH=x86
|
|
PLIST_SUB+= AMD64="@comment "
|
|
.endif
|
|
|
|
.if !${PORT_OPTIONS:MDOCS}
|
|
post-patch:
|
|
@${RM} -rf ${WRKSRC}/docs/html
|
|
.endif
|
|
|
|
do-build: do-man-pages
|
|
|
|
do-man-pages:
|
|
cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${GMAKE} man-pages
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
cd ${WRKSRC}/docs && ${SETENV} ${MAKE_ENV} ${GMAKE} html-docs
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|