aboutsummaryrefslogtreecommitdiff
path: root/devel/avr-gcc
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2012-03-09 17:14:15 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2012-03-09 17:14:15 +0000
commitd75e64d554129aa5535b56b2b66a173b0faaac1a (patch)
tree31b46dd45831655bbef482876af1653867607fde /devel/avr-gcc
parent2b231b984808d69e7356b90f0c283a9cad0e6ca5 (diff)
downloadports-d75e64d554129aa5535b56b2b66a173b0faaac1a.tar.gz
ports-d75e64d554129aa5535b56b2b66a173b0faaac1a.zip
Notes
Diffstat (limited to 'devel/avr-gcc')
-rw-r--r--devel/avr-gcc/Makefile3
-rw-r--r--devel/avr-gcc/files/patch-plugins18
-rw-r--r--devel/avr-gcc/pkg-plist1
3 files changed, 21 insertions, 1 deletions
diff --git a/devel/avr-gcc/Makefile b/devel/avr-gcc/Makefile
index ea12d1fff749..0a9090eb0a18 100644
--- a/devel/avr-gcc/Makefile
+++ b/devel/avr-gcc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gcc
PORTVERSION= 4.5.1
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
@@ -39,13 +40,13 @@ USE_PERL5_BUILD= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_BISON= build
+USE_GETTEXT= yes
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if (${ARCH} == "amd64")
ARCH= x86_64
-BROKEN= does not package
.endif
CONFLICTS= avr-gcc-3* avr-gcc-42*
diff --git a/devel/avr-gcc/files/patch-plugins b/devel/avr-gcc/files/patch-plugins
new file mode 100644
index 000000000000..2538d73132c9
--- /dev/null
+++ b/devel/avr-gcc/files/patch-plugins
@@ -0,0 +1,18 @@
+--- gcc/configure.orig
++++ gcc/configure
+@@ -25460,13 +25460,13 @@
+ $as_echo_n "checking for exported symbols... " >&6; }
+ echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c
+ ${CC} ${CFLAGS} ${LDFLAGS} conftest.c -o conftest > /dev/null 2>&1
+- if $gcc_cv_objdump -T conftest | grep foobar > /dev/null; then
++ if $ac_cv_prog_OBJDUMP -T conftest | grep foobar > /dev/null; then
+ : # No need to use a flag
+ else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -rdynamic" >&5
+ $as_echo_n "checking for -rdynamic... " >&6; }
+ ${CC} ${CFLAGS} ${LDFLAGS} -rdynamic conftest.c -o conftest > /dev/null 2>&1
+- if $gcc_cv_objdump -T conftest | grep foobar > /dev/null; then
++ if $ac_cv_prog_OBJDUMP -T conftest | grep foobar > /dev/null; then
+ plugin_rdynamic=yes
+ pluginlibs="-rdynamic"
+ else
diff --git a/devel/avr-gcc/pkg-plist b/devel/avr-gcc/pkg-plist
index e9212fcd2dba..e50844f03cab 100644
--- a/devel/avr-gcc/pkg-plist
+++ b/devel/avr-gcc/pkg-plist
@@ -196,6 +196,7 @@ share/locale/el/LC_MESSAGES/cpplib.mo
share/locale/el/LC_MESSAGES/gcc.mo
share/locale/es/LC_MESSAGES/cpplib.mo
share/locale/es/LC_MESSAGES/gcc.mo
+share/locale/fi/LC_MESSAGES/cpplib.mo
share/locale/fi/LC_MESSAGES/gcc.mo
share/locale/fr/LC_MESSAGES/cpplib.mo
share/locale/fr/LC_MESSAGES/gcc.mo