mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
See: https://github.com/Dr-Noob/cpufetch/issues/167 Closes: https://trac.macports.org/ticket/66630 See: https://github.com/Dr-Noob/cpufetch/issues/168
12 lines
522 B
Diff
12 lines
522 B
Diff
--- Makefile.orig 2023-01-05 17:17:49.000000000 +0700
|
|
+++ Makefile 2023-01-06 02:17:20.000000000 +0700
|
|
@@ -11,7 +11,7 @@
|
|
COMMON_HDR = $(SRC_COMMON)ascii.h $(SRC_COMMON)cpu.h $(SRC_COMMON)udev.h $(SRC_COMMON)printer.h $(SRC_COMMON)args.h $(SRC_COMMON)global.h
|
|
|
|
ifneq ($(OS),Windows_NT)
|
|
- arch := $(shell uname -m)
|
|
+ arch := ppc
|
|
ifeq ($(arch), $(filter $(arch), x86_64 amd64 i386 i486 i586 i686))
|
|
SRC_DIR=src/x86/
|
|
SOURCE += $(COMMON_SRC) $(SRC_DIR)cpuid.c $(SRC_DIR)apic.c $(SRC_DIR)cpuid_asm.c $(SRC_DIR)uarch.c
|