From owner-svn-ports-head@freebsd.org Wed Jan 13 15:42:41 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 57A9AA81EC6; Wed, 13 Jan 2016 15:42:41 +0000 (UTC) (envelope-from mi@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 0DF5D10F8; Wed, 13 Jan 2016 15:42:40 +0000 (UTC) (envelope-from mi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u0DFgeU0009390; Wed, 13 Jan 2016 15:42:40 GMT (envelope-from mi@FreeBSD.org) Received: (from mi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u0DFgdqx009388; Wed, 13 Jan 2016 15:42:39 GMT (envelope-from mi@FreeBSD.org) Message-Id: <201601131542.u0DFgdqx009388@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mi set sender to mi@FreeBSD.org using -f From: Mikhail Teterin Date: Wed, 13 Jan 2016 15:42:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406051 - in head/graphics/squish: . 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-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: Wed, 13 Jan 2016 15:42:41 -0000 Author: mi Date: Wed Jan 13 15:42:39 2016 New Revision: 406051 URL: https://svnweb.freebsd.org/changeset/ports/406051 Log: Up until now the port installed only a static version of libsquish -- because the upstream's makefile only built that. Add our own little makefile, that properly builds both static and shared variants using bsd.lib.mk PR: 206125 Approved by: Reinier de Blois (maintainer) Added: head/graphics/squish/files/ head/graphics/squish/files/BSDmakefile (contents, props changed) Modified: head/graphics/squish/Makefile Modified: head/graphics/squish/Makefile ============================================================================== --- head/graphics/squish/Makefile Wed Jan 13 15:26:49 2016 (r406050) +++ head/graphics/squish/Makefile Wed Jan 13 15:42:39 2016 (r406051) @@ -3,7 +3,7 @@ PORTNAME= squish PORTVERSION= 1.10 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= http://libsquish.googlecode.com/files/ @@ -12,11 +12,12 @@ COMMENT= Open source DXT compression lib LICENSE= MIT -USES= gmake +USES= uidfix MAKE_ENV= INSTALL_DIR=${STAGEDIR}${PREFIX} PLIST_FILES= include/squish.h \ - lib/libsquish.a -CXXFLAGS+= -fPIC -include limits.h + lib/libsquish.a lib/libsquish.so.1 lib/libsquish.so +MAKEFILE= ${FILESDIR}/BSDmakefile +USE_LDCONFIG= yes OPTIONS_RADIO= RG1 OPTIONS_RADIO_RG1= ALTIVEC SSE Added: head/graphics/squish/files/BSDmakefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/squish/files/BSDmakefile Wed Jan 13 15:42:39 2016 (r406051) @@ -0,0 +1,15 @@ +LIB= squish +SHLIB_MAJOR= 1 +SRCS!= echo *.cpp +NO_PROFILE= yes + +CXXFLAGS+= -include limits.h -I${.CURDIR} + +LIBDIR= ${PREFIX}/lib +INCSDIR= ${PREFIX}/include +INCS= squish.h +# The below two are needed until PR 206126 is resolved +INCSOWN= ${LIBOWN} +INCSGRP= ${LIBGRP} + +.include