- Fix pkg-plist on i386

This commit is contained in:
Jose Alonso Cardenas Marquez
2018-02-02 21:25:06 +00:00
parent ebfabe973e
commit 4ada909c48
2 changed files with 9 additions and 5 deletions

View File

@@ -3,6 +3,7 @@
PORTNAME= ldc
PORTVERSION= 1.7.0
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= https://github.com/ldc-developers/ldc/releases/download/v${PORTVERSION}/:source \
https://github.com/ldc-developers/ldc/releases/download/v${BOOTVER}/:bootstrap
@@ -38,6 +39,9 @@ DISTFILES+= ${PORTNAME}-${BOOTVER}-src.tar.gz:bootstrap
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
PLIST_SUB+= LDC_I386=""
.elif ${ARCH} == "i386"
PLIST_SUB+= LDC_I386="@comment "
.endif
pre-configure:

View File

@@ -385,7 +385,7 @@ include/d/ldc/arrayinit.d
include/d/ldc/asan.d
include/d/ldc/attributes.d
include/d/ldc/dcompute.d
include/d/ldc/dynamic_compile.d
%%LDC_I386%%include/d/ldc/dynamic_compile.d
include/d/ldc/eh_asm.S
include/d/ldc/eh_msvc.d
include/d/ldc/gccbuiltins_aarch64.di
@@ -570,10 +570,10 @@ lib/libdruntime-ldc-shared.so
lib/libdruntime-ldc-shared.so.2.0.77
lib/libdruntime-ldc-shared.so.77
lib/libdruntime-ldc.a
lib/libldc-jit-rt.a
lib/libldc-jit.so
lib/libldc-jit.so.2.0.77
lib/libldc-jit.so.77
%%LDC_I386%%lib/libldc-jit-rt.a
%%LDC_I386%%lib/libldc-jit.so
%%LDC_I386%%lib/libldc-jit.so.2.0.77
%%LDC_I386%%lib/libldc-jit.so.77
lib/libldc-profile-rt.a
lib/libphobos2-ldc-debug-shared.so
lib/libphobos2-ldc-debug-shared.so.2.0.77