Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Dec 2011 21:17:11 GMT
From:      Warren Block <wblock@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/163322: [patch] devel/arduino: remove unnecessary 64-bit Linux library
Message-ID:  <201112152117.pBFLHB8W008019@red.freebsd.org>
Resent-Message-ID: <201112152120.pBFLK82V008510@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         163322
>Category:       ports
>Synopsis:       [patch] devel/arduino: remove unnecessary 64-bit Linux library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 15 21:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Warren Block
>Release:        8-STABLE
>Organization:
>Environment:
FreeBSD lightning 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Dec  5 09:58:17 MST 2011     root@lightning:/usr/obj/usr/src/sys/LIGHTNING  i386
>Description:
Remove unnecessary Linux 64-bit RXTX library in Makefile.  Also remove some invisible whitespace from the pkg-descr.
>How-To-Repeat:

>Fix:
Apply patch.

Patch attached with submission follows:

diff -u devel/arduino.orig/Makefile devel/arduino/Makefile
--- devel/arduino.orig/Makefile	2011-12-13 20:43:10.000000000 -0700
+++ devel/arduino/Makefile	2011-12-15 14:08:27.000000000 -0700
@@ -5,6 +5,7 @@
 
 PORTNAME=	arduino
 PORTVERSION=	1.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	devel java lang
 MASTER_SITES=	GOOGLE_CODE
@@ -22,7 +23,6 @@
 
 USE_JAVA=	1.6+
 NO_BUILD=	yes
-USE_LDCONFIG=	yes
 
 SUB_FILES=	arduino pkg-message
 SUB_LIST=	PORTNAME=${PORTNAME}
@@ -62,6 +62,7 @@
 	@${RM} ${WRKSRC}/hardware/tools/avrdude
 	@${RM} ${WRKSRC}/hardware/tools/avrdude64
 	@${RM} ${WRKSRC}/hardware/tools/avrdude.conf
+	@${RM} ${WRKSRC}/lib/librxtxSerial64.so
 	@${MKDIR} ${WRKSRC}/hardware/tools/avr
 	@${LN} -s ${PREFIX}/bin ${WRKSRC}/hardware/tools/avr/bin
 	@${LN} -s ${PREFIX}/etc ${WRKSRC}/hardware/tools/avr/etc
Common subdirectories: devel/arduino.orig/files and devel/arduino/files
diff -u devel/arduino.orig/pkg-descr devel/arduino/pkg-descr
--- devel/arduino.orig/pkg-descr	2011-03-23 18:29:31.000000000 -0600
+++ devel/arduino/pkg-descr	2011-12-15 11:26:05.000000000 -0700
@@ -1,6 +1,6 @@
-Arduino is an open-source electronics prototyping platform based on 
-flexible, easy-to-use hardware and software. It's intended for artists, 
-designers, hobbyists, and anyone interested in creating interactive 
+Arduino is an open-source electronics prototyping platform based on
+flexible, easy-to-use hardware and software. It's intended for artists,
+designers, hobbyists, and anyone interested in creating interactive
 objects or environments.
-	
+
 WWW: http://arduino.cc/
diff -u devel/arduino.orig/pkg-plist devel/arduino/pkg-plist
--- devel/arduino.orig/pkg-plist	2011-12-13 20:43:10.000000000 -0700
+++ devel/arduino/pkg-plist	2011-12-15 11:26:22.000000000 -0700
@@ -198,7 +198,6 @@
 arduino/lib/jna.jar
 arduino/lib/keywords.txt
 arduino/lib/librxtxSerial.so
-arduino/lib/librxtxSerial64.so
 arduino/lib/pde.jar
 arduino/lib/preferences.txt
 arduino/lib/theme/buttons.gif


>Release-Note:
>Audit-Trail:
>Unformatted:



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