freebsd-ports/devel/fam/Makefile
Jan Beich c6a0cd9957 devel/fam: unbreak with libc++ 3.9
NFSFileSystem.c++:105:12: error: assigning to 'char *' from incompatible type 'const char *'
    if ((p = strstr(opt, "actimeo")))
           ^ ~~~~~~~~~~~~~~~~~~~~~~
NFSFileSystem.c++:112:12: error: assigning to 'char *' from incompatible type 'const char *'
    if ((p = strstr(opt, "acregmin"))) {
           ^ ~~~~~~~~~~~~~~~~~~~~~~~
NFSFileSystem.c++:118:12: error: assigning to 'char *' from incompatible type 'const char *'
    if ((p = strstr(opt, "acregmax"))) {
           ^ ~~~~~~~~~~~~~~~~~~~~~~~

PR:		212343
Regressed by:	https://github.com/llvm-mirror/libcxx/commit/b4aa97130b8b
2017-01-03 21:04:19 +00:00

41 lines
938 B
Makefile

# Created by: Jeremy Norris <ishmael27@home.com>
# $FreeBSD$
PORTNAME= fam
PORTVERSION= 2.6.10
PORTREVISION= 9
CATEGORIES= devel
MASTER_SITES= ftp://oss.sgi.com/projects/fam/download/
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= File alteration monitor
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/fam/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/libfam/COPYING
CFLAGS+= -Wno-deprecated
USES= autoreconf cpe gmake libtool
CPE_VENDOR= sgi
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
GNU_CONFIGURE= yes
SUB_FILES= pkg-message
#CONFLICTS_INSTALL= gamin-[0-9]*
post-patch:
${REINPLACE_CMD} -e "s/-lstdc++//g" ${WRKSRC}/libfam/Makefile.am
pre-configure:
${RM} -r ${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
.include <bsd.port.mk>