ports/183062: [PATCH] graphics/squish: respect LOCALBASE, support staging
Dmitry Marakasov
amdmi3 at amdmi3.ru
Thu Oct 17 14:50:02 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list