1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Fix the build on FreeBSD 10.

Approved by:	portmgr (miwi)
This commit is contained in:
Koop Mast 2011-10-29 12:13:31 +00:00
parent f91fb991a3
commit 622d5c8629
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284639

View File

@ -18,6 +18,7 @@ FETCH_ARGS?= -pRr
USE_GMAKE= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
WITH_FBSD10_FIX=yes
USE_GNOME= gnomehack pkgconfig
CONFIGURE_ARGS= --with-memcached=no --disable-libevent --without-libevent-prefix
@ -28,7 +29,7 @@ OPTIONS= SASL "With (Cyrus) SASL2 support" off
post-patch:
${REINPLACE_CMD} -e 's|^pkgconfigdir.*|pkgconfigdir = $${PREFIX}/libdata/pkgconfig|' \
-e '/^LDFLAGS *=/ s/$$/ $${LTLIBSASL2}/' \
${WRKSRC}/Makefile.in
${WRKSRC}/Makefile.in ${WRKSRC}/support/include.am
.if defined(NO_INSTALL_MANPAGES)
${REINPLACE_CMD} -e 's|^SUBDIRS = docs |SUBDIRS = |' ${WRKSRC}/Makefile.in
.endif