Don't hardcode gcc.

This commit is contained in:
daniel 2019-08-24 20:46:30 +00:00
parent 3b8833e2ba
commit d7947cb743
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.12 2019/07/12 20:48:53 sthen Exp $
# $OpenBSD: Makefile,v 1.13 2019/08/24 20:46:30 daniel Exp $
ONLY_FOR_ARCHS= i386 amd64 powerpc sparc64 mips64 mips64el arm
@ -10,6 +10,8 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}{${V}${EXTRACT_SUFX}}
WRKDIST= ${WRKDIR}/drawterm-${V}
EXTRACT_SUFX= .tar.gz
REVISION= 0
CATEGORIES= plan9
HOMEPAGE= http://drawterm.9front.org/

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-posix-386_Makefile,v 1.1 2019/08/24 20:46:30 daniel Exp $
Index: posix-386/Makefile
--- posix-386/Makefile.orig
+++ posix-386/Makefile
@@ -20,8 +20,8 @@ $(LIB): $(OFILES)
$(AS) -o $*.$O $*.s
md5block.s: md5block.spp
- gcc -E - < md5block.spp >md5block.s
+ $(CC) -E - < md5block.spp >md5block.s
sha1block.s: sha1block.spp
- gcc -E - < sha1block.spp >sha1block.s
+ $(CC) -E - < sha1block.spp >sha1block.s