Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2013 18:25:30 +0400 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        me@rdb.name
Subject:   ports/183062: [PATCH] graphics/squish: respect LOCALBASE, support staging
Message-ID:  <20131017142530.13EEAE06@hades.panopticon>
Resent-Message-ID: <201310171450.r9HEo1b1012417@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183062
>Category:       ports
>Synopsis:       [PATCH] graphics/squish: respect LOCALBASE, support staging
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct 17 14:50:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 9.1-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD hades.panopticon 9.1-RELEASE-p4 FreeBSD 9.1-RELEASE-p4 #0 r251956: Tue Jun 18 21:41:37 MSK
>Description:
- Respect PREFIX/LOCALBASE (always installs into /usr/local otherwise)
- Support staging
- Convert USE_GMAKE to USES
- Pet portlint by reordering stuff a bit

Port maintainer (me@rdb.name) is cc'd.

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- squish-1.10.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 330644)
+++ Makefile	(working copy)
@@ -10,9 +10,12 @@
 COMMENT=	Open source DXT compression library
 
 LICENSE=	MIT
-USE_GMAKE=	YES
+
+USES=		gmake
+MAKE_ENV=	INSTALL_DIR=${STAGEDIR}${PREFIX}
 PLIST_FILES=	include/squish.h \
 		lib/libsquish.a
+CXXFLAGS+=	-fPIC
 
 OPTIONS_RADIO=	RG1
 OPTIONS_RADIO_RG1=	ALTIVEC SSE
@@ -19,11 +22,8 @@
 ALTIVEC_DESC=	Use Altivec instructions
 RG1_DESC=	Optimizations Selection
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-CXXFLAGS+=	-fPIC
-
 .if ${PORT_OPTIONS:MALTIVEC}
 CXXFLAGS+=	-DSQUISH_USE_ALTIVEC=1 -maltivec
 .endif
--- squish-1.10.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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