liboil: fix the build with clang on powerpc (and maybe arm)
Do not use the integrated assembler because it break the build. jca@ proposed to include arm in the fix to give this arch a chance to build it. While here, move HOMEPAGE to https. OK jca@
This commit is contained in:
parent
caac776c11
commit
16cc83c07c
@ -1,17 +1,15 @@
|
||||
# $OpenBSD: Makefile,v 1.23 2019/12/06 14:30:39 sthen Exp $
|
||||
|
||||
BROKEN-arm= invalid asm
|
||||
# $OpenBSD: Makefile,v 1.24 2020/04/28 18:38:41 cwen Exp $
|
||||
|
||||
COMMENT= library of optimized inner loops
|
||||
|
||||
DISTNAME= liboil-0.3.17
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${HOMEPAGE}/download/
|
||||
|
||||
SHARED_LIBS+= oil-0.3 4.0
|
||||
|
||||
HOMEPAGE= http://liboil.freedesktop.org/
|
||||
HOMEPAGE= https://liboil.freedesktop.org/
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE= Yes
|
||||
@ -21,4 +19,9 @@ WANTLIB= c m
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS= --disable-glib
|
||||
|
||||
# Workaround for invalid assembly code with clang
|
||||
.if ${MACHINE_ARCH:Mpowerpc} || ${MACHINE_ARCH:Marm}
|
||||
CFLAGS+= -fno-integrated-as
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user