1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

Update to 1.8

PR:		ports/37493
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-04-26 20:16:01 +00:00
parent 741c03ea2c
commit dee6021314
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=58189
3 changed files with 30 additions and 13 deletions

View File

@ -6,9 +6,10 @@
#
PORTNAME= x86info
PORTVERSION= 1.7
PORTVERSION= 1.8
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITES= ftp://ftp.suse.com/pub/people/davej/x86info/ \
${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz

View File

@ -1 +1 @@
MD5 (x86info-1.7.tgz) = d9b4e19dae0aeab1a7b2247f6251bb22
MD5 (x86info-1.8.tgz) = cdd0888d0bcb82a0d0b6e7d2b5309e69

View File

@ -1,16 +1,21 @@
--- Makefile.orig Tue Dec 11 12:01:40 2001
+++ Makefile Tue Dec 18 15:48:37 2001
@@ -1,4 +1,3 @@
-CFLAGS = -Wall -W -g -O2
#CFLAGS += -mwin32 -DWIN32_LEAN_AND_MEAN
SHELL = /bin/sh
--- Makefile.orig Fri Apr 26 14:48:53 2002
+++ Makefile Fri Apr 26 14:51:26 2002
@@ -1,8 +1,4 @@
-CFLAGS = -Wall -W -g -O2 #-m32
-#CFLAGS += -mwin32 -DWIN32_LEAN_AND_MEAN
-SHELL = /bin/sh
-
-all: x86info test
+all: x86info
@@ -36,13 +35,13 @@
OBJS =\
AMD/identify.o\
@@ -38,13 +34,13 @@
get_model_name.o\
x86info: $(OBJS)
- gcc -o x86info $(OBJS)
+ ${CC} -o x86info $(OBJS)
- gcc $(CFLAGS) -o x86info $(OBJS)
+ ${CC} $(CFLAGS) -o x86info $(OBJS)
.c.o:
- gcc $(CFLAGS) -o $@ -c $<
@ -20,5 +25,16 @@
- gcc $(CFLAGS) -o $@ -c $<
+ ${CC} $(CFLAGS) -o $@ -c $<
nodes:
scripts/makenodes
@@ -53,7 +49,7 @@
scripts/testnodes
clean:
@find . -name "*.o" -exec rm {} \;
- @find . -name "*.o" -exec rm {} \;
- @find . -name "*~" -exec rm {} \;
- @rm -f x86info x86info.exe
+ @find . -name "*.o" -exec ${RM} {} \;
+ @find . -name "*~" -exec ${RM} {} \;
+ @${RM-F} x86info