1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/devel/fam/Makefile
Matthias Andree 8151e37e93 - Fix build with libc++, dropping hardcoded -lstdc++ from the right Makefile.
- Fix build with clang, casting a large constant to int in mntent_compat.c++.
- Fix a noisy clang warning in BTree.h by parenthesizing the 2nd for() expr.
- Fix a format string mismatch (%d/size_t -> %lu/unsigned long) in snprintf.
- Regenerate patches, and normalize their filenames, with make makepatch.
- Bump PORTREVISION.
2014-01-03 01:45:45 +00:00

39 lines
920 B
Makefile

# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$
PORTNAME= fam
PORTVERSION= 2.6.10
PORTREVISION= 5
CATEGORIES= devel
MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= File alteration monitor
CFLAGS+= -Wno-deprecated
USES= gmake
USE_AUTOTOOLS= aclocal automake autoconf libtool
AUTOMAKE_ARGS= -c -a
USE_LDCONFIG= yes
ACLOCAL_ARGS= -I "${ACLOCAL_DIR}" -I ${LOCALBASE}/share/aclocal
SUB_FILES= pkg-message
#CONFLICTS_INSTALL= gamin-[0-9]*
post-patch:
${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/libfam/Makefile.am
pre-configure:
${RM} -fr ${WRKSRC}/util
${MV} ${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.am.orig
${SED} -e s/util// -e /SUBDIRS/q \
<${WRKSRC}/Makefile.am.orig >${WRKSRC}/Makefile.am
${CP} ${FILESDIR}/mntent* ${WRKSRC}/fam
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libfam.so.0
.include <bsd.port.mk>