Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 14:05:44 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r336911 - branches/2014Q1/graphics/squish
Message-ID:  <201312191405.rBJE5imM048605@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Dec 19 14:05:44 2013
New Revision: 336911
URL: http://svnweb.freebsd.org/changeset/ports/336911

Log:
  MFH: r336891
  
  - Fix build with clang [1]
  - Update maintainer email [1]
  - Use option helpers
  
  PR:		ports/184683 [1]
  Submitted by:	maintainer

Modified:
  branches/2014Q1/graphics/squish/Makefile   (contents, props changed)
Directory Properties:
  branches/2014Q1/   (props changed)

Modified: branches/2014Q1/graphics/squish/Makefile
==============================================================================
--- branches/2014Q1/graphics/squish/Makefile	Thu Dec 19 14:04:45 2013	(r336910)
+++ branches/2014Q1/graphics/squish/Makefile	Thu Dec 19 14:05:44 2013	(r336911)
@@ -1,4 +1,4 @@
-# Created by: Reinier de Blois <me@rdb.name>
+# Created by: Reinier de Blois <rddeblois@gmail.com>
 # $FreeBSD$
 
 PORTNAME=	squish
@@ -6,7 +6,7 @@ PORTVERSION=	1.10
 CATEGORIES=	graphics
 MASTER_SITES=	http://libsquish.googlecode.com/files/
 
-MAINTAINER=	me@rdb.name
+MAINTAINER=	rddeblois@gmail.com
 COMMENT=	Open source DXT compression library
 
 LICENSE=	MIT
@@ -15,21 +15,14 @@ USES=		gmake
 MAKE_ENV=	INSTALL_DIR=${STAGEDIR}${PREFIX}
 PLIST_FILES=	include/squish.h \
 		lib/libsquish.a
-CXXFLAGS+=	-fPIC
+CXXFLAGS+=	-fPIC -include limits.h
 
 OPTIONS_RADIO=	RG1
 OPTIONS_RADIO_RG1=	ALTIVEC SSE
 ALTIVEC_DESC=	Use Altivec instructions
 RG1_DESC=	Optimizations Selection
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MALTIVEC}
-CXXFLAGS+=	-DSQUISH_USE_ALTIVEC=1 -maltivec
-.endif
-
-.if ${PORT_OPTIONS:MSSE}
-CXXFLAGS+=	-DSQUISH_USE_SSE=2 -msse
-.endif
+ALTIVEC_CXXFLAGS=	-DSQUISH_USE_ALTIVEC=1 -maltivec
+SSE_CXXFLAGS=		-DSQUISH_USE_SSE=2 -msse
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312191405.rBJE5imM048605>