mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
b3b04d5e62
Reported by: antoine
38 lines
783 B
Makefile
38 lines
783 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= fnccheck
|
|
PORTVERSION= 3.2.0
|
|
PORTREVISION= 3
|
|
CATEGORIES= devel
|
|
MASTER_SITES= SF/${PORTNAME}
|
|
DISTNAME= FunctionCheck-${PORTVERSION}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Profiling library/utilities for C/C++ programs
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
LICENSE_COMB= multi
|
|
|
|
LIB_DEPENDS= libbfd.so:${PORTSDIR}/devel/libbfd
|
|
|
|
USES= libtool
|
|
USE_AUTOTOOLS= libtoolize aclocal automake autoconf
|
|
AUTOMAKE_ARGS= --force-missing --add-missing --foreign
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
|
|
STRIP= # none
|
|
|
|
INFO= libfc
|
|
|
|
post-patch:
|
|
@${FIND} ${WRKSRC} -name "Makefile.am" | ${XARGS} ${REINPLACE_CMD} -e \
|
|
's|-ldl|| ; \
|
|
s|-Wall -O3|-Wall|'
|
|
@${REINPLACE_CMD} -e \
|
|
'/^SUBDIRS/s|test||' ${WRKSRC}/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|