Date: Wed, 13 Jan 2016 15:42:39 +0000 (UTC) From: Mikhail Teterin <mi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r406051 - in head/graphics/squish: . files Message-ID: <201601131542.u0DFgdqx009388@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.lib.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601131542.u0DFgdqx009388>