Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jul 2012 12:14:18 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r301081 - head/ftp/curl
Message-ID:  <201207181214.q6ICEILe068858@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Jul 18 12:14:17 2012
New Revision: 301081
URL: http://svn.freebsd.org/changeset/ports/301081

Log:
  - Prepare for slave port ftp/curl-hiphop
  
  PR:		ports/169946
  Submitted by:	mm

Modified:
  head/ftp/curl/Makefile   (contents, props changed)

Modified: head/ftp/curl/Makefile
==============================================================================
--- head/ftp/curl/Makefile	Wed Jul 18 11:40:28 2012	(r301080)
+++ head/ftp/curl/Makefile	Wed Jul 18 12:14:17 2012	(r301081)
@@ -12,8 +12,8 @@ MASTER_SITES=	http://curl.haxx.se/downlo
 		LOCAL/sunpoet
 EXTRACT_SUFX=	.tar.lzma
 
-MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
+MAINTAINER?=	sunpoet@FreeBSD.org
+COMMENT?=	Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers
 
 LICENSE=	MIT
 
@@ -33,17 +33,19 @@ OPTIONS=	CARES "Asynchronous DNS resolut
 		RTMP "RTMP streams support" off \
 		TRACKMEMORY "Enable curl memory diagnostic output" off
 
-CONFIGURE_ARGS=	--disable-threaded-resolver --disable-werror \
+CONFIGURE_ARGS+=--disable-threaded-resolver --disable-werror \
 		--enable-imap --enable-pop3 --enable-rtsp --enable-smtp
 CONFIGURE_ENV=	LOCALBASE="${LOCALBASE}"
 GNU_CONFIGURE=	yes
 MAKE_ENV=	SHLIB_VER="${SHLIB_VER}"
 MAKE_JOBS_SAFE=	yes
 USE_GNOME=	gnomehack
-USE_LDCONFIG=	yes
 USE_PERL5_BUILD=	yes
 USE_XZ=		yes
 
+.if !defined(BUILDING_HIPHOP)
+USE_LDCONFIG=	yes
+
 DOCS=		BINDINGS BUGS CONTRIBUTE DISTRO-DILEMMA FAQ FEATURES HISTORY \
 		INSTALL INSTALL.devcpp INTERNALS KNOWN_BUGS LICENSE-MIXING \
 		MANUAL README.netware README.win32 RESOURCES SSLCERTS THANKS \
@@ -72,6 +74,7 @@ MAN3=		curl_easy_cleanup.3 curl_easy_dup
 PLIST_SUB=	SHLIB_VER="${SHLIB_VER}"
 
 SHLIB_VER=	6
+.endif
 
 .include <bsd.port.options.mk>
 
@@ -207,6 +210,7 @@ post-patch:
 	@${REINPLACE_CMD} -e '/require "valgrind.pm";/d' ${WRKSRC}/tests/runtests.pl
 
 post-install:
+.if !defined(BUILDING_HIPHOP)
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}/ ${DOCSDIR}/libcurl/
 	cd ${WRKSRC}/docs/ && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}/
@@ -216,6 +220,7 @@ post-install:
 	${MKDIR} ${EXAMPLESDIR}/
 	cd ${WRKSRC}/docs/examples/ && ${INSTALL_DATA} README Makefile.example makefile* *.c *.cc ${EXAMPLESDIR}/
 .endif
+.endif
 
 # Setting LC_ALL=C is a kludge; maybe curl/libcurl shouldn't actually use
 # the user's locale when dates are sent to the server.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201207181214.q6ICEILe068858>