From owner-svn-ports-head@FreeBSD.ORG Fri Feb 7 13:11:09 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 7370BDB2; Fri, 7 Feb 2014 13:11:09 +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 533141A8F; Fri, 7 Feb 2014 13:11:09 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s17DB9WR023758; Fri, 7 Feb 2014 13:11:09 GMT (envelope-from miwi@svn.freebsd.org) Received: (from miwi@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s17DB8SP023756; Fri, 7 Feb 2014 13:11:08 GMT (envelope-from miwi@svn.freebsd.org) Message-Id: <201402071311.s17DB8SP023756@svn.freebsd.org> From: Martin Wilke Date: Fri, 7 Feb 2014 13:11:08 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r343234 - head/graphics/libafterimage 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: Fri, 07 Feb 2014 13:11:09 -0000 Author: miwi Date: Fri Feb 7 13:11:08 2014 New Revision: 343234 URL: http://svnweb.freebsd.org/changeset/ports/343234 QAT: https://qat.redports.org/buildarchive/r343234/ Log: - Fix build - Stage support PR: 185933 Submitted by: Ports Fury Modified: head/graphics/libafterimage/Makefile head/graphics/libafterimage/pkg-plist Modified: head/graphics/libafterimage/Makefile ============================================================================== --- head/graphics/libafterimage/Makefile Fri Feb 7 13:10:20 2014 (r343233) +++ head/graphics/libafterimage/Makefile Fri Feb 7 13:11:08 2014 (r343234) @@ -11,17 +11,16 @@ DISTNAME= libAfterImage-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Generic imaging library originally designed for AfterStep -BROKEN= Fails to build - -LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \ - gif.5:${PORTSDIR}/graphics/giflib \ - png15:${PORTSDIR}/graphics/png \ - tiff.4:${PORTSDIR}/graphics/tiff \ - freetype.9:${PORTSDIR}/print/freetype2 - LICENSE= LGPL21 +LIB_DEPENDS= libgif.so:${PORTSDIR}/graphics/giflib \ + libjpeg.so:${PORTSDIR}/graphics/jpeg \ + libpng15.so:${PORTSDIR}/graphics/png \ + libtiff.so:${PORTSDIR}/graphics/tiff \ + libfreetype.so:${PORTSDIR}/print/freetype2 + USE_BZIP2= yes +USES= pkgconfig USE_XORG= xext USE_GNOME= librsvg2 GNU_CONFIGURE= yes @@ -31,30 +30,26 @@ CONFIGURE_ARGS= --disable-staticlibs --e USE_LDCONFIG= yes MAKE_JOBS_UNSAFE= yes -MAN1= ascompose.1x - CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -NO_STAGE= yes -.include +OPTIONS_DEFINE_amd64= MMX +OPTIONS_DEFINE_i386= MMX + +MMX_CONFIGURE_ENABLE= mmx-optimization -.if ${MACHINE_CPU:Mmmx} -CONFIGURE_ARGS+= --enable-mmx-optimization -.else -CONFIGURE_ARGS+= --disable-mmx-optimization -.endif +.include post-extract: @${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage post-patch: - @${REINPLACE_CMD} -e 's|CFLAGS="-O3"||g ; \ - s| malloc\.h | |g' \ - ${WRKSRC}/configure + @${REINPLACE_CMD} -e \ + 's|CFLAGS="-O3"||g ; \ + s| malloc\.h | |g' ${WRKSRC}/configure post-install: - ${INSTALL_MAN} ${WRKSRC}/apps/ascompose.man \ - ${MANPREFIX}/man/man1/ascompose.1x + (cd ${WRKSRC}/apps && ${INSTALL_MAN} ascompose.man \ + ${STAGEDIR}${MANPREFIX}/man/man1/ascompose.1x) -.include +.include Modified: head/graphics/libafterimage/pkg-plist ============================================================================== --- head/graphics/libafterimage/pkg-plist Fri Feb 7 13:10:20 2014 (r343233) +++ head/graphics/libafterimage/pkg-plist Fri Feb 7 13:11:08 2014 (r343234) @@ -1,7 +1,7 @@ bin/afterimage-config bin/afterimage-libs -bin/ascompose bin/ascheckttf +bin/ascompose bin/asflip bin/asgrad bin/asi18n @@ -37,4 +37,5 @@ include/libAfterImage/xpm.h include/libAfterImage/xwrap.h lib/libAfterImage.so lib/libAfterImage.so.0 +man/man1/ascompose.1x.gz @dirrm include/libAfterImage