[99095] trunk/dports/cross/simulavr
landonf at macports.org
landonf at macports.org
Thu Oct 25 19:58:29 PDT 2012
Revision: 99095
http://trac.macports.org//changeset/99095
Author: landonf at macports.org
Date: 2012-10-25 19:58:29 -0700 (Thu, 25 Oct 2012)
Log Message:
-----------
Add missing linker flags; fixes the Tcl API.
Modified Paths:
--------------
trunk/dports/cross/simulavr/Portfile
Added Paths:
-----------
trunk/dports/cross/simulavr/files/patch-src_Makefile.in
Modified: trunk/dports/cross/simulavr/Portfile
===================================================================
--- trunk/dports/cross/simulavr/Portfile 2012-10-26 02:53:01 UTC (rev 99094)
+++ trunk/dports/cross/simulavr/Portfile 2012-10-26 02:58:29 UTC (rev 99095)
@@ -5,6 +5,7 @@
name simulavr
version 1.0.0
+revision 1
categories cross devel
maintainers landonf
description Simulator for Atmel AVR microcontrollers
@@ -23,7 +24,8 @@
port:swig-tcl
patchfiles patch-src_systemclock.cpp \
- patch-msleep
+ patch-msleep \
+ patch-src_Makefile.in
post-patch {
# Hack the swig macro into detecting a modern version of swig
Added: trunk/dports/cross/simulavr/files/patch-src_Makefile.in
===================================================================
--- trunk/dports/cross/simulavr/files/patch-src_Makefile.in (rev 0)
+++ trunk/dports/cross/simulavr/files/patch-src_Makefile.in 2012-10-26 02:58:29 UTC (rev 99095)
@@ -0,0 +1,19 @@
+--- src/Makefile.in 2012-10-25 22:47:51.000000000 -0400
++++ src/Makefile.in 2012-10-25 22:46:05.000000000 -0400
+@@ -420,11 +421,14 @@
+ specialmem.cpp string2.cpp systemclock.cpp traceval.cpp ui/ui.cpp
+
+ nodist_libsim_la_SOURCES = $(FAB_CPP)
+-libsim_la_LDFLAGS = -version-info 0:0:0 -rpath ${prefix}/lib
++libsim_la_LDFLAGS = -version-info 0:0:0 -rpath ${prefix}/lib \
++ -L$(AVR_LIBBFD_LIBPATH) -lbfd -L$(AVR_LIBIBERTY_LIBPATH) -liberty \
++ -lz -lintl -ltcl
+ nodist_libsimulavr_la_SOURCES = $(TCL_WRAP_SRC)
+ libsimulavr_la_LDFLAGS = -version-info 0:0:0 -rpath ${prefix}/lib
+ libsimulavr_la_LIBADD = $(libsim_la_OBJECTS) -lz \
+- -L$(AVR_LIBBFD_LIBPATH) -lbfd -L$(AVR_LIBIBERTY_LIBPATH) -liberty
++ -L$(AVR_LIBBFD_LIBPATH) -lbfd -L$(AVR_LIBIBERTY_LIBPATH) -liberty \
++ -lz -lintl -ltcl
+
+ pkginclude_HEADERS = \
+ adcpin.h application.h at4433.h at8515.h atmega128.h atmega16_32.h attiny2313.h \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121025/286e7d33/attachment.html>
More information about the macports-changes
mailing list