aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cpuflags/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2010-04-15 19:54:26 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2010-04-15 19:54:26 +0800
commitd317d9700c6b52ef5d0ce6fdff12d150cd27267d (patch)
treea8e5a89ee770083cf264b2836f7e64e5d8dea38c /devel/cpuflags/Makefile
parent5e128642cd08b43841f76088830527e6bf66b948 (diff)
downloadfreebsd-ports-gnome-d317d9700c6b52ef5d0ce6fdff12d150cd27267d.tar.gz
freebsd-ports-gnome-d317d9700c6b52ef5d0ce6fdff12d150cd27267d.tar.zst
freebsd-ports-gnome-d317d9700c6b52ef5d0ce6fdff12d150cd27267d.zip
cpuflags returns the appropriate gcc flags to optimise compilation for the
current CPU. PR: 144363 Submitted by: Quentin Stievenart <acieroid@awesom.eu>
Diffstat (limited to 'devel/cpuflags/Makefile')
-rw-r--r--devel/cpuflags/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/cpuflags/Makefile b/devel/cpuflags/Makefile
new file mode 100644
index 000000000000..883dc57dec28
--- /dev/null
+++ b/devel/cpuflags/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: cpuflags
+# Date created: 2010/02/28
+# Whom: Quentin Stievenart <acieroid@awesom.eu>
+#
+# $FreeBSD$
+# $NetBSD: Makefile,v 1.149 2009/11/12 05:38:58 obache Exp $
+
+PORTNAME= cpuflags
+PORTVERSION= 1.41
+CATEGORIES= devel sysutils
+MASTER_SITES= http://awesom.eu/~acieroid/files/ports/${PORTNAME}/
+
+MAINTAINER= acieroid@awesom.eu
+COMMENT= Determine compiler flags to best target current cpu
+
+post-install:
+ ${REINPLACE_CMD} -i '' -e "s,@@SH@@,${SH:Q}," ${PREFIX}/bin/cpuflags
+
+.include <bsd.port.mk>