View | Details | Raw Unified | Return to bug 278755 | Differences between
and this patch

Collapse All | Expand All

(-)b/devel/arduino/Makefile (-9 / +7 lines)
Lines 34-39 CONFLICTS_INSTALL= arduino18 Link Here
34
NO_BUILD=	yes
34
NO_BUILD=	yes
35
USE_LDCONFIG=	${PREFIX}/arduino/lib
35
USE_LDCONFIG=	${PREFIX}/arduino/lib
36
36
37
# Remove broken jar, and Linux C6 based libraries.
38
# This port relys on comms/RXTX working without Linux C6 compatibility.
39
EXTRACT_AFTER_ARGS=	--exclude hardware/tools \
40
			--exclude lib/RXTXcomm.jar \
41
			--exclude lib/librxtxSerial.so \
42
			--exclude lib/librxtxSerial64.so
43
37
PLIST_SUB=	ARCH=${ARCH:S|i386||:S|amd64|64|}
44
PLIST_SUB=	ARCH=${ARCH:S|i386||:S|amd64|64|}
38
45
39
SUB_FILES=	arduino pkg-message
46
SUB_FILES=	arduino pkg-message
Lines 81-98 INSLIST+= examples Link Here
81
FIND_EXPR=	"${FIND_EXCLUDES} -prune"
88
FIND_EXPR=	"${FIND_EXCLUDES} -prune"
82
89
83
post-patch:
90
post-patch:
84
	${RM} -r ${WRKSRC}/hardware/tools/
85
	${MKDIR} ${WRKSRC}/hardware/tools/avr/
91
	${MKDIR} ${WRKSRC}/hardware/tools/avr/
86
	${LN} -s ${PREFIX}/bin ${WRKSRC}/hardware/tools/avr/bin
92
	${LN} -s ${PREFIX}/bin ${WRKSRC}/hardware/tools/avr/bin
87
	${LN} -s ${PREFIX}/etc ${WRKSRC}/hardware/tools/avr/etc
93
	${LN} -s ${PREFIX}/etc ${WRKSRC}/hardware/tools/avr/etc
88
89
	# Remove broken jar, and Linux C6 based libraries.
90
	${RM} ${WRKSRC}/lib/RXTXcomm.jar
91
92
	# This port relys on comms/RXTX working without Linux C6 compatibility.
93
	${RM} ${WRKSRC}/lib/librxtxSerial.so
94
	${RM} ${WRKSRC}/lib/librxtxSerial64.so
95
96
	# Map the RXTX port for our use
94
	# Map the RXTX port for our use
97
	${LN} -s ${JAVA_HOME}/jre/lib/ext/RXTXcomm.jar ${WRKSRC}/lib/RXTXcomm.jar
95
	${LN} -s ${JAVA_HOME}/jre/lib/ext/RXTXcomm.jar ${WRKSRC}/lib/RXTXcomm.jar
98
96

Return to bug 278755