From owner-svn-ports-head@FreeBSD.ORG Thu Jan 30 16:05:26 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BDB1CDFC; Thu, 30 Jan 2014 16:05:26 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A95391A0A; Thu, 30 Jan 2014 16:05:26 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0UG5QeG016671; Thu, 30 Jan 2014 16:05:26 GMT (envelope-from tijl@svn.freebsd.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0UG5Qvn016669; Thu, 30 Jan 2014 16:05:26 GMT (envelope-from tijl@svn.freebsd.org) Message-Id: <201401301605.s0UG5Qvn016669@svn.freebsd.org> From: Tijl Coosemans Date: Thu, 30 Jan 2014 16:05:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r341856 - in head: devel/stfl www/newsbeuter X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jan 2014 16:05:26 -0000 Author: tijl Date: Thu Jan 30 16:05:25 2014 New Revision: 341856 URL: http://svnweb.freebsd.org/changeset/ports/341856 QAT: https://qat.redports.org/buildarchive/r341856/ Log: devel/stfl: - Fix a crash on FreeBSD 10 by indicating the port uses the WCHAR_T iconv extension. - Use more of the port's own build system. This simplifies the Makefile. www/newsbeuter: - Indicate the port uses the //TRANSLIT iconv extension. - Use OPTIONS_SUB. PR: ports/186257 Approved by: arved (maintainer) Modified: head/devel/stfl/Makefile head/www/newsbeuter/Makefile Modified: head/devel/stfl/Makefile ============================================================================== --- head/devel/stfl/Makefile Thu Jan 30 16:05:12 2014 (r341855) +++ head/devel/stfl/Makefile Thu Jan 30 16:05:25 2014 (r341856) @@ -3,6 +3,7 @@ PORTNAME= stfl PORTVERSION= 0.22 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= http://www.clifford.at/stfl/ @@ -11,37 +12,30 @@ COMMENT= Structured Terminal Forms Langu LICENSE= GPLv3 +USES= gmake iconv:wchar_t ncurses USE_LDCONFIG= yes -USES= gmake iconv ncurses -ALL_TARGET= libstfl.so -PLIST_FILES= lib/libstfl.so.1 lib/libstfl.so include/stfl.h \ - libdata/pkgconfig/stfl.pc + +PLIST_FILES= include/stfl.h lib/libstfl.a lib/libstfl.so lib/libstfl.so.0 \ + lib/libstfl.so.0.22 libdata/pkgconfig/stfl.pc CFLAGS+= -I${LOCALBASE}/include -LDLIBS+= -L${LOCALBASE}/lib -MAKE_ENV= LDLIBS="${LDLIBS}" +LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} +MAKE_ENV= LDLIBS="${LDFLAGS}" post-patch: - @${REINPLACE_CMD} -e 's|\.a|.so|g;/ranlib/d;\ - s|ar qc|$${CC} $${CFLAGS} $${LDLIBS} -pthread -shared -fPIC -o|;\ - s|sed -r|sed -E|;s|-Os||;/gcc/d;/-MM/s|-I.|$${CFLAGS}|'\ + @${REINPLACE_CMD} -e 's|-Os||;/gcc/d;/pkgconfig/s|$$(libdir)|libdata|' \ ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|alloca.h|stdlib.h|' ${WRKSRC}/widgets/*.c + @${REINPLACE_CMD} -e '/Libs.private/s|$$| ${ICONV_LIB}|' \ + ${WRKSRC}/stfl.pc.in @${REINPLACE_CMD} -e 's|ncursesw/|${NCURSESINC}/|'\ ${WRKSRC}/stfl_internals.h @${ECHO_CMD} 'prefix = ${PREFIX}' > ${WRKSRC}/Makefile.cfg + @${ECHO_CMD} 'libdir = lib' >> ${WRKSRC}/Makefile.cfg pre-build: @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV}\ - ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} Makefile.deps - -post-build: - @cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV}\ - ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} stfl.pc + ${MAKE_CMD} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} Makefile.deps -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/libstfl.so ${STAGEDIR}${PREFIX}/lib/libstfl.so.1 - ${LN} -sf ${PREFIX}/lib/libstfl.so.1 ${STAGEDIR}${PREFIX}/lib/libstfl.so - ${INSTALL_DATA} ${WRKSRC}/stfl.h ${STAGEDIR}${PREFIX}/include/ - ${INSTALL_DATA} ${WRKSRC}/stfl.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/ +post-install: + ${LN} -s libstfl.so.0.22 ${STAGEDIR}${PREFIX}/lib/libstfl.so.0 .include Modified: head/www/newsbeuter/Makefile ============================================================================== --- head/www/newsbeuter/Makefile Thu Jan 30 16:05:12 2014 (r341855) +++ head/www/newsbeuter/Makefile Thu Jan 30 16:05:25 2014 (r341856) @@ -3,6 +3,7 @@ PORTNAME= newsbeuter PORTVERSION= 2.8 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://newsbeuter.org/downloads/ @@ -17,24 +18,16 @@ LIB_DEPENDS= stfl:${PORTSDIR}/devel/stfl libjson.so:${PORTSDIR}/devel/json-c OPTIONS_DEFINE= PODCAST +OPTIONS_DEFAULT=PODCAST +OPTIONS_SUB= yes PODCAST_DESC= Podcast client (podbeuter) -OPTIONS_DEFAULT= PODCAST - -USES= gettext iconv ncurses gmake pkgconfig perl5 +USES= gettext gmake iconv:translit ncurses perl5 pkgconfig USE_PERL5= build USE_SQLITE= yes USE_GNOME= libxml2 USE_GCC= any -.include - -.if ${PORT_OPTIONS:MPODCAST} -PLIST_SUB+= PODCAST="" -.else -PLIST_SUB+= PODCAST="@comment " -.endif - post-patch: ${REINPLACE_CMD} -e "s,share/man,man,; \ /^prefix/s|=.*|=${PREFIX}|; /^CXX=/d; \