Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 13:16:14 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r561463 - head/sysutils/lcdproc
Message-ID:  <202101131316.10DDGEia090351@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Wed Jan 13 13:16:13 2021
New Revision: 561463
URL: https://svnweb.freebsd.org/changeset/ports/561463

Log:
  sysutils/lcdproc: fix packaging on non-x86
  
  Approved by:	tier 2 blanket
  MFH:		2021Q1

Modified:
  head/sysutils/lcdproc/Makefile
  head/sysutils/lcdproc/pkg-plist

Modified: head/sysutils/lcdproc/Makefile
==============================================================================
--- head/sysutils/lcdproc/Makefile	Wed Jan 13 12:59:52 2021	(r561462)
+++ head/sysutils/lcdproc/Makefile	Wed Jan 13 13:16:13 2021	(r561463)
@@ -73,19 +73,25 @@ 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

Modified: head/sysutils/lcdproc/pkg-plist
==============================================================================
--- head/sysutils/lcdproc/pkg-plist	Wed Jan 13 12:59:52 2021	(r561462)
+++ head/sysutils/lcdproc/pkg-plist	Wed Jan 13 13:16:13 2021	(r561463)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101131316.10DDGEia090351>