aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorkwm <kwm@FreeBSD.org>2011-10-29 20:13:31 +0800
committerkwm <kwm@FreeBSD.org>2011-10-29 20:13:31 +0800
commita9c495c155ee99c2e1ce288deb64838e3e14abf8 (patch)
treefff78100a1fb8ceeac7e5f79b0871ce8890b735b /databases
parentf165287fa7a061ac9106649060723cc0061faf3a (diff)
downloadfreebsd-ports-gnome-a9c495c155ee99c2e1ce288deb64838e3e14abf8.tar.gz
freebsd-ports-gnome-a9c495c155ee99c2e1ce288deb64838e3e14abf8.tar.zst
freebsd-ports-gnome-a9c495c155ee99c2e1ce288deb64838e3e14abf8.zip
Fix the build on FreeBSD 10.
Approved by: portmgr (miwi)
Diffstat (limited to 'databases')
-rw-r--r--databases/libmemcached/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/libmemcached/Makefile b/databases/libmemcached/Makefile
index c7880746492f..be952dcecabf 100644
--- a/databases/libmemcached/Makefile
+++ b/databases/libmemcached/Makefile
@@ -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