mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
Move archivers/libmpq to ports-gcc because it uses
builtins (__builtin_bswap16/32/64) that end up missing during linking of consumers such as games/devilutionx. Switching to ports-gcc produces a library that allows consumers such as games/devilutionx to link successfully. Patch provided by Brad Smith
This commit is contained in:
@@ -2,6 +2,8 @@ COMMENT = extract, create or manipulate MoPaQ mpq archives
|
||||
DISTNAME = libmpq-0.4.2pl20230224
|
||||
CATEGORIES = archivers
|
||||
|
||||
REVISION = 0
|
||||
|
||||
SHARED_LIBS += mpq 0.0 # 0.0
|
||||
|
||||
GH_ACCOUNT = diasurgical
|
||||
@@ -15,6 +17,10 @@ WANTLIB += bz2 z
|
||||
|
||||
LIB_DEPENDS += archivers/bzip2
|
||||
|
||||
# builtins
|
||||
COMPILER = base-clang ports-gcc
|
||||
COMPILER_LANGS = c
|
||||
|
||||
CONFIGURE_STYLE = autoreconf
|
||||
CONFIGURE_ENV = CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user