diff options
author | cjep <cjep@pkgsrc.org> | 2002-09-25 06:35:48 +0000 |
---|---|---|
committer | cjep <cjep@pkgsrc.org> | 2002-09-25 06:35:48 +0000 |
commit | c49fd74723830e8588d3822f632fe6d8b6865594 (patch) | |
tree | 2c7b8b51a2667925137e54ed6c97781c0cca2752 /archivers/star/patches | |
parent | 9bca19a995fd4f8612fcfbf9e1708417e8a79a1b (diff) | |
download | pkgsrc-c49fd74723830e8588d3822f632fe6d8b6865594.tar.gz |
Make this package build on arm. The same principle should apply to
other CPU families, but I haven't tested those.
Diffstat (limited to 'archivers/star/patches')
-rw-r--r-- | archivers/star/patches/patch-aa | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/archivers/star/patches/patch-aa b/archivers/star/patches/patch-aa new file mode 100644 index 00000000000..29cefc75625 --- /dev/null +++ b/archivers/star/patches/patch-aa @@ -0,0 +1,19 @@ +$NetBSD: patch-aa,v 1.1 2002/09/25 06:35:49 cjep Exp $ + +--- RULES/mk-gmake.id.orig Sun Dec 6 12:51:19 1998 ++++ RULES/mk-gmake.id Tue Sep 24 21:07:24 2002 +@@ -44,8 +44,14 @@ + XK_ARCH:= $(shell uname -m | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-') + XM_ARCH:= $(shell $(_ARCHCMD) | tr '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',-') + ++__OS:= $(shell uname -s) ++ + P_ARCH= $(XP_ARCH) ++ifeq ($(__OS),NetBSD) ++K_ARCH= $(XP_ARCH) ++else + K_ARCH= $(XK_ARCH) ++endif + M_ARCH= $(XM_ARCH) + + _XP_ARCH= $(XP_ARCH:unknown=$(K_ARCH)) |