Fix to keep pkglocatedb from blowing up during builds. The PFRAG.x86 was

undefined for arches where i2p isn't built. pkglocatedb still scans them
however and aborts accordingly.

ok kurt@
This commit is contained in:
kmos 2021-05-23 16:26:43 +00:00
parent 0c2f5ce413
commit 69121923b7

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.9 2021/05/21 13:19:59 kurt Exp $ # $OpenBSD: Makefile,v 1.10 2021/05/23 16:26:43 kmos Exp $
COMMENT= i2p routing protocol COMMENT= i2p routing protocol
@ -38,6 +38,8 @@ PKG_ARGS+= -Dx86=1
.elif ${MACHINE_ARCH} == "aarch64" .elif ${MACHINE_ARCH} == "aarch64"
BITS=64 BITS=64
PKG_ARGS+= -Dx86=0 PKG_ARGS+= -Dx86=0
.else
PKG_ARGS+= -Dx86=0
.endif .endif
DB_DIR= ${LOCALSTATEDIR}/i2p DB_DIR= ${LOCALSTATEDIR}/i2p