aboutsummaryrefslogtreecommitdiff
path: root/misc/cpuid/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-03 14:59:52 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-01-03 14:59:52 +0000
commita351018011982a569274ad2f640b0ff2d2eb0390 (patch)
tree6b764bcea1003518da90162b1a353691b54359d3 /misc/cpuid/Makefile
parent8a4f3d7d35694464dec9c1ac7e229eda93c718cf (diff)
downloadports-a351018011982a569274ad2f640b0ff2d2eb0390.tar.gz
ports-a351018011982a569274ad2f640b0ff2d2eb0390.zip
Notes
Diffstat (limited to 'misc/cpuid/Makefile')
-rw-r--r--misc/cpuid/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/misc/cpuid/Makefile b/misc/cpuid/Makefile
index 54846780b165..d11c1dd5af5b 100644
--- a/misc/cpuid/Makefile
+++ b/misc/cpuid/Makefile
@@ -7,14 +7,18 @@
#
PORTNAME= cpuid
-PORTVERSION= 3.2
+PORTVERSION= 3.3
CATEGORIES= misc
MASTER_SITES= http://people.qualcomm.com/karn/code/cpuid/
MAINTAINER= ports@FreeBSD.org
ONLY_FOR_ARCHS= i386
-ALL_TARGET= ${PORTNAME}
+USE_GMAKE= yes
+ALL_TARGET= # empty
+
+post-patch:
+ @${PERL} -pi -e "s,gcc,${CC},g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cpuid ${PREFIX}/bin