From owner-svn-ports-head@freebsd.org Sun Jan 3 06:18:24 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 612ADA602AF; Sun, 3 Jan 2016 06:18:24 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 2C23C1960; Sun, 3 Jan 2016 06:18:24 +0000 (UTC) (envelope-from wen@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u036INwx073499; Sun, 3 Jan 2016 06:18:23 GMT (envelope-from wen@FreeBSD.org) Received: (from wen@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u036INuC073498; Sun, 3 Jan 2016 06:18:23 GMT (envelope-from wen@FreeBSD.org) Message-Id: <201601030618.u036INuC073498@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wen set sender to wen@FreeBSD.org using -f From: Wen Heping Date: Sun, 3 Jan 2016 06:18:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r405113 - head/x11-toolkits/py-fltk 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.20 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: Sun, 03 Jan 2016 06:18:24 -0000 Author: wen Date: Sun Jan 3 06:18:23 2016 New Revision: 405113 URL: https://svnweb.freebsd.org/changeset/ports/405113 Log: - Fix build on FreeBSD-9 Reported by: pkg-fallout@ Modified: head/x11-toolkits/py-fltk/Makefile Modified: head/x11-toolkits/py-fltk/Makefile ============================================================================== --- head/x11-toolkits/py-fltk/Makefile Sun Jan 3 05:47:42 2016 (r405112) +++ head/x11-toolkits/py-fltk/Makefile Sun Jan 3 06:18:23 2016 (r405113) @@ -28,6 +28,12 @@ PORTDOCS= * PORTEXAMPLES= * WRKSRC= ${WRKDIR}/pyFltk-${PORTVERSION} +.include + +#.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +USE_GCC= yes +#.endif + post-patch: @${REINPLACE_CMD} -e "s|/usr/X11R6|${LOCALBASE}|g;s|package_data.*},||g;s|sunos5|dragonfly4', 'freebsd8', 'freebsd9', 'freebsd10', 'freebsd11|g" ${WRKSRC}/setup.py