aboutsummaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2007-06-28 23:45:24 +0800
committerpav <pav@FreeBSD.org>2007-06-28 23:45:24 +0800
commit8486f3721466aa3bd25f8f25fa70f096b9b2788c (patch)
tree834caa69afb864d7c1ad75776be70f2aa258d8a0 /comms
parent315eaf39a99f7d4efa62b64fc514cb470db2460f (diff)
downloadfreebsd-ports-gnome-8486f3721466aa3bd25f8f25fa70f096b9b2788c.tar.gz
freebsd-ports-gnome-8486f3721466aa3bd25f8f25fa70f096b9b2788c.tar.zst
freebsd-ports-gnome-8486f3721466aa3bd25f8f25fa70f096b9b2788c.zip
- Fix plist on !i386
OK'ed by: Jean-Baptiste Quenot <jbq@caraldi.com> (maintainer)
Diffstat (limited to 'comms')
-rw-r--r--comms/rxtx/Makefile2
-rw-r--r--comms/rxtx/pkg-plist12
2 files changed, 8 insertions, 6 deletions
diff --git a/comms/rxtx/Makefile b/comms/rxtx/Makefile
index a0e4349251dc..659ab6b53d1b 100644
--- a/comms/rxtx/Makefile
+++ b/comms/rxtx/Makefile
@@ -28,6 +28,8 @@ CONFIGURE_ENV= JAVA_HOME=${JAVA_HOME}
PREFIX= ${JAVA_HOME}/jre
NO_MTREE= yes
+PLIST_SUB= ARCH=${MACHINE_ARCH}
+
post-patch:
@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure ${WRKSRC}/ltconfig
diff --git a/comms/rxtx/pkg-plist b/comms/rxtx/pkg-plist
index c4859077dfaf..67b07d8a0401 100644
--- a/comms/rxtx/pkg-plist
+++ b/comms/rxtx/pkg-plist
@@ -1,7 +1,7 @@
lib/ext/RXTXcomm.jar
-lib/i386/librxtxParallel-2.1-7.so
-lib/i386/librxtxParallel.la
-lib/i386/librxtxParallel.so
-lib/i386/librxtxSerial-2.1-7.so
-lib/i386/librxtxSerial.la
-lib/i386/librxtxSerial.so
+lib/%%ARCH%%/librxtxParallel-2.1-7.so
+lib/%%ARCH%%/librxtxParallel.la
+lib/%%ARCH%%/librxtxParallel.so
+lib/%%ARCH%%/librxtxSerial-2.1-7.so
+lib/%%ARCH%%/librxtxSerial.la
+lib/%%ARCH%%/librxtxSerial.so