svn commit: r349946 - head/ftp/curl
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Apr 2 19:11:00 UTC 2014
Author: sunpoet
Date: Wed Apr 2 19:11:00 2014
New Revision: 349946
URL: http://svnweb.freebsd.org/changeset/ports/349946
QAT: https://qat.redports.org/buildarchive/r349946/
Log:
- Fix build failure when SPNEGO option is on
Modified:
head/ftp/curl/Makefile
Modified: head/ftp/curl/Makefile
==============================================================================
--- head/ftp/curl/Makefile Wed Apr 2 19:02:00 2014 (r349945)
+++ head/ftp/curl/Makefile Wed Apr 2 19:11:00 2014 (r349946)
@@ -76,7 +76,7 @@ GNUTLS_CONFIGURE_OFF= --without-gnutls
GNUTLS_CONFIGURE_ON= --with-gnutls=${LOCALBASE}
GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls
GSSAPI_BASE_CONFIGURE_ON= --with-gssapi=/usr
-GSSAPI_BASE_CPPFLAGS= -I${INCLUDEDIR}/gssapi
+GSSAPI_BASE_CPPFLAGS= -I${INCLUDEDIR}
HEIMDAL_PORT_CONFIGURE_ON= --with-gssapi=${HEIMDAL_HOME}
HEIMDAL_PORT_CPPFLAGS= -I${HEIMDAL_HOME}/include
HEIMDAL_PORT_LDFLAGS= -L${HEIMDAL_HOME}/lib
@@ -159,6 +159,7 @@ CONFIGURE_ARGS+=--without-gssapi
post-patch:
@${REINPLACE_CMD} -e 's|\(flags_dbg_off=\)".*"|\1""|; s|\(flags_opt_off=\)".*"|\1""|; s|lib/pkgconfig|libdata/pkgconfig|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e '/^SUBDIRS = / s|$$| docs|; /^DIST_SUBDIRS = / s| docs||; /cd docs &&/d' ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|include <gssapi.h>|include <gssapi/gssapi.h>|' ${WRKSRC}/lib/curl_gssapi.h ${WRKSRC}/lib/urldata.h
post-install:
.if !defined(BUILDING_HIPHOP)
More information about the svn-ports-all
mailing list