mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
68edbeeaae
- Add --localstatedir=/var to _LATE_CONFIGURE_ARGS (like --mandir) but not when CONFIGURE_ARGS already sets it. (GNU configure scripts set it to PREFIX/var when PREFIX != /usr.) - Add --localstatedir="${PREFIX}/var" to CONFIGURE_ARGS in some ports so they aren't affected by this change (for now at least). This commit is meant to ensure that new ports don't make the same mistake. - games/acm: the configure script in this port is very old; instead of patching it more, just replace GNU_CONFIGURE with HAS_CONFIGURE. - irc/charybdis: it already used /var but adding --localstatedir=/var changed the behaviour of the configure script; adjust the port to this. PR: 199506 Exp-run by: antoine Approved by: portmgr (antoine)
34 lines
678 B
Makefile
34 lines
678 B
Makefile
# Created by: Frederic Dubuy <fdubuy@free.fr>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mifluz
|
|
PORTVERSION= 0.26.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= GNU
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= C++ library to build and query a full text inverted index
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= bison iconv libtool makeinfo pathfix
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-posixmutexes \
|
|
--localstatedir="${PREFIX}/var" \
|
|
--without-unac
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
INFO= mifluz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
'/^#ifndef HAVE_ALLOCA/s|_H||' ${WRKSRC}/clib/strncoll2.c
|
|
|
|
.include <bsd.port.mk>
|