aboutsummaryrefslogtreecommitdiff
path: root/comms/rxtx
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-06-28 15:45:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-06-28 15:45:24 +0000
commit34f92f107907f5e9be10562186dcee7d8b43bd52 (patch)
treebb73d85df7d2f48a0b1928a7c96ce27d4cc8c3f5 /comms/rxtx
parent308dc0a9a4b17d25f86baaa2ecba619f80f24f73 (diff)
downloadports-34f92f107907f5e9be10562186dcee7d8b43bd52.tar.gz
ports-34f92f107907f5e9be10562186dcee7d8b43bd52.zip
Notes
Diffstat (limited to 'comms/rxtx')
-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