aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2014-02-04 13:50:01 +0800
committerohauer <ohauer@FreeBSD.org>2014-02-04 13:50:01 +0800
commit171dddc7e4fe54f2af2f651daebea7e1b7067895 (patch)
treebeab93351dbf2cc9915eacfdec80079b7ef39124 /www
parentf05655b4f4561276081bdfba97a7a26e661a928d (diff)
downloadfreebsd-ports-gnome-171dddc7e4fe54f2af2f651daebea7e1b7067895.tar.gz
freebsd-ports-gnome-171dddc7e4fe54f2af2f651daebea7e1b7067895.tar.zst
freebsd-ports-gnome-171dddc7e4fe54f2af2f651daebea7e1b7067895.zip
- Add GSSAPI support (default=off)
PR: ports/186433 Submitted by: Ryan Steinmetz <zi@FreeBSD.org>
Diffstat (limited to 'www')
-rw-r--r--www/serf/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/www/serf/Makefile b/www/serf/Makefile
index 4200f703d01b..e89dcd7e664e 100644
--- a/www/serf/Makefile
+++ b/www/serf/Makefile
@@ -20,7 +20,7 @@ USE_LDCONFIG= yes
SUB_FILES= libserf-1.la
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS GSSAPI
SCONS_ENV= # empty
SCONS_BUILDENV= # empty
@@ -32,6 +32,12 @@ SCONS_ARGS+= CC=${CC}
SCONS_ARGS+= CFLAGS="${CFLAGS}"
SCONS_INSTALL_TARGET= install --install-sandbox=${STAGEDIR}
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGSSAPI}
+SCONS_ARGS+= GSSAPI="/usr"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e '/^Requires.private/d' ${WRKSRC}/build/serf.pc.in