blob: abce4c3ce95b46eef6e8b404c2e9fc97c430136d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
PORTNAME= fnccheck
PORTVERSION= 3.2.0
PORTREVISION= 4
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:devel/libbfd
USES= autoreconf libtool
GNU_CONFIGURE= yes
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>
|