diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-01-13 13:17:01 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2021-01-13 13:17:01 +0000 |
commit | 860e552374940ada68c86f43a53058df71f9861c (patch) | |
tree | 4546500712fb69cc40f358ff75a160f9ca1f1f9f /sysutils | |
parent | a94507558e8172a693bf4c139db31ea42155f532 (diff) |
MFH: r561463
sysutils/lcdproc: fix packaging on non-x86
Approved by: tier 2 blanket
Notes
Notes:
svn path=/branches/2021Q1/; revision=561464
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/lcdproc/Makefile | 16 | ||||
-rw-r--r-- | sysutils/lcdproc/pkg-plist | 10 |
2 files changed, 16 insertions, 10 deletions
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile index b132afc4731d..8a8dde5ab8c1 100644 --- a/sysutils/lcdproc/Makefile +++ b/sysutils/lcdproc/Makefile @@ -73,20 +73,26 @@ LCDPROC_DRIVERS=bayrad \ pyramid \ rawserial \ SureElec \ - sdeclcd \ - sed1330 \ - sed1520 \ serialPOS \ serialVFD \ sli \ - stv5730 \ - t6963 \ text \ tyan \ vlsys_m428 .include <bsd.port.options.mk> +.if ${ARCH} == amd64 || ${ARCH} == i386 +LCDPROC_DRIVERS+= sdeclcd \ + sed1330 \ + sed1520 \ + stv5730 \ + t6963 +PLIST_SUB+= X86="" +.else +PLIST_SUB+= X86="@comment " +.endif + .if ${PORT_OPTIONS:MUSB} CONFIGURE_ARGS+= --enable-libusb PLIST_SUB+= USB="" diff --git a/sysutils/lcdproc/pkg-plist b/sysutils/lcdproc/pkg-plist index 9f9c09ca7473..e5691311bfbb 100644 --- a/sysutils/lcdproc/pkg-plist +++ b/sysutils/lcdproc/pkg-plist @@ -30,15 +30,15 @@ lib/lcdproc/mtc_s16209x.so lib/lcdproc/pyramid.so lib/lcdproc/rawserial.so lib/lcdproc/SureElec.so -lib/lcdproc/sdeclcd.so -lib/lcdproc/sed1330.so -lib/lcdproc/sed1520.so +%%X86%%lib/lcdproc/sdeclcd.so +%%X86%%lib/lcdproc/sed1330.so +%%X86%%lib/lcdproc/sed1520.so lib/lcdproc/serialPOS.so lib/lcdproc/serialVFD.so %%USB%%lib/lcdproc/shuttleVFD.so lib/lcdproc/sli.so -lib/lcdproc/stv5730.so -lib/lcdproc/t6963.so +%%X86%%lib/lcdproc/stv5730.so +%%X86%%lib/lcdproc/t6963.so lib/lcdproc/text.so lib/lcdproc/tyan.so %%FTDI%%lib/lcdproc/ula200.so |