From owner-svn-ports-all@FreeBSD.ORG Thu Sep 18 15:53:33 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C79F7291; Thu, 18 Sep 2014 15:53:33 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 992D1D56; Thu, 18 Sep 2014 15:53:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8IFrXlO012919; Thu, 18 Sep 2014 15:53:33 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8IFrXI6012914; Thu, 18 Sep 2014 15:53:33 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201409181553.s8IFrXI6012914@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Thu, 18 Sep 2014 15:53:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368490 - in head/devel/swig20: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2014 15:53:33 -0000 Author: tijl Date: Thu Sep 18 15:53:32 2014 New Revision: 368490 URL: http://svnweb.freebsd.org/changeset/ports/368490 QAT: https://qat.redports.org/buildarchive/r368490/ Log: - Remove autoconf dependency and USES=libtool - Remove -fPIC, left over from version 1.3 - Patch configure for modern versions of FreeBSD and DragonFly Added: head/devel/swig20/files/patch-configure (contents, props changed) Modified: head/devel/swig20/Makefile Modified: head/devel/swig20/Makefile ============================================================================== --- head/devel/swig20/Makefile Thu Sep 18 15:44:25 2014 (r368489) +++ head/devel/swig20/Makefile Thu Sep 18 15:53:32 2014 (r368490) @@ -3,6 +3,7 @@ PORTNAME= swig PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -13,14 +14,12 @@ LICENSE= GPLv3 LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre -USES= gmake libtool lua:51 -USE_AUTOTOOLS= autoconf:env +USES= gmake lua:51 VER= ${PORTVERSION:R} PLIST_SUB+= PORTVERSION=${PORTVERSION} VER="${VER}" GNU_CONFIGURE= yes -CFLAGS+= -fPIC -DPIC ALL_TARGET= # none CONFIGURE_ARGS+=--program-suffix=${VER} @@ -33,7 +32,7 @@ OCTAVE_VER_CMD= ${LOCALBASE}/bin/octave- OPTIONS_DEFINE= DOCS EXAMPLES -.include +.include post-patch: ${SETENV} OCTAVE_VER=$$(${OCTAVE_VER_CMD}) \ @@ -68,4 +67,4 @@ post-install: regression-test: build cd ${WRKSRC} && ${MAKE_CMD} check -.include +.include Added: head/devel/swig20/files/patch-configure ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/swig20/files/patch-configure Thu Sep 18 15:53:32 2014 (r368490) @@ -0,0 +1,24 @@ +--- configure.orig 2014-02-09 22:21:00 UTC ++++ configure +@@ -6420,8 +6420,8 @@ + fi ;; + *-*-linux*) LDSHARED="gcc -shared";; + *-*-dgux*) LDSHARED="ld -G";; +- *-*-freebsd3*) LDSHARED="gcc -shared";; +- *-*-freebsd* | *-*-openbsd*) LDSHARED="ld -Bshareable";; ++ *-*-dragonfly* | *-*-freebsd*) LDSHARED="$CC -shared";; ++ *-*-openbsd*) LDSHARED="ld -Bshareable";; + *-*-netbsd*) + if [ "`$CC -dM -E -