Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 13:17:01 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r561464 - branches/2021Q1/sysutils/lcdproc
Message-ID:  <202101131317.10DDH14K090579@repo.freebsd.org>

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

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

Modified:
  branches/2021Q1/sysutils/lcdproc/Makefile
  branches/2021Q1/sysutils/lcdproc/pkg-plist
Directory Properties:
  branches/2021Q1/   (props changed)

Modified: branches/2021Q1/sysutils/lcdproc/Makefile
==============================================================================
--- branches/2021Q1/sysutils/lcdproc/Makefile	Wed Jan 13 13:16:13 2021	(r561463)
+++ branches/2021Q1/sysutils/lcdproc/Makefile	Wed Jan 13 13:17:01 2021	(r561464)
@@ -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: branches/2021Q1/sysutils/lcdproc/pkg-plist
==============================================================================
--- branches/2021Q1/sysutils/lcdproc/pkg-plist	Wed Jan 13 13:16:13 2021	(r561463)
+++ branches/2021Q1/sysutils/lcdproc/pkg-plist	Wed Jan 13 13:17:01 2021	(r561464)
@@ -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?202101131317.10DDH14K090579>