1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

Use stock gcc for FreeBSD 6.

This commit is contained in:
Maho Nakata 2008-08-06 12:21:29 +00:00
parent 3b4790d21a
commit 8fb1d78ca3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=218133
8 changed files with 76 additions and 22 deletions

View File

@ -7,6 +7,7 @@
PORTNAME?= openoffice.org
PORTVERSION?= 2.4.${SNAPDATE}
PORTREVISION?= 1
CATEGORIES+= editors java
MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
http://openoffice.lunarshells.com/sources/ \
@ -106,11 +107,6 @@ PKGNAMESUFFIX= -${LANG_SUFFIX}
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_GCC= 4.2
#following part should sync with ports/Mk/bsd.gcc.mk
.if (${OSVERSION} >= 700042)
CONFIGURE_ARGS+= --with-system-stdlibs
.endif
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CCACHE_PREFIX= ccache
@ -148,7 +144,9 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
--enable-crashdump=yes \
--with-system-zlib \
--with-system-stdlibs \
--with-epm=internal
.if ${ARCH} == amd64
WITHOUT_MOZILLA= yes
LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost

View File

@ -0,0 +1,16 @@
Index: store/util/makefile.mk
===================================================================
RCS file: /cvs/ucb/store/util/makefile.mk,v
retrieving revision 1.24
diff -u -r1.24 makefile.mk
--- store/util/makefile.mk 10 Apr 2008 14:23:47 -0000 1.24
+++ store/util/makefile.mk 30 Jun 2008 23:52:56 -0000
@@ -78,7 +78,7 @@
.ELSE
.IF "$(OS)"=="NETBSD"
SHL1STDLIBS+= -lsupc++
-.ELIF "$(OS)"=="MACOSX"
+.ELIF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
.IF "$(CCNUMVER)"<="000399999999"
SHL1STDLIBS+= -lsupc++
.ENDIF # CCNUMVER

View File

@ -7,7 +7,7 @@
PORTNAME?= openoffice.org
PORTVERSION?= 2.4.${SNAPDATE}
PORTREVISION?= 3
PORTREVISION?= 4
PORTEPOCH?= 1
CATEGORIES+= editors java
MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
@ -107,11 +107,6 @@ PKGNAMESUFFIX= -${LANG_SUFFIX}
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_GCC= 4.2
#following part should sync with ports/Mk/bsd.gcc.mk
.if (${OSVERSION} >= 700042)
CONFIGURE_ARGS+= --with-system-stdlibs
.endif
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CCACHE_PREFIX= ccache
@ -153,7 +148,9 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
--enable-crashdump=yes \
--with-system-zlib \
--with-system-stdlibs \
--with-epm=internal
.if ${ARCH} == amd64
WITHOUT_MOZILLA= yes
LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost

View File

@ -0,0 +1,16 @@
Index: store/util/makefile.mk
===================================================================
RCS file: /cvs/ucb/store/util/makefile.mk,v
retrieving revision 1.24
diff -u -r1.24 makefile.mk
--- store/util/makefile.mk 10 Apr 2008 14:23:47 -0000 1.24
+++ store/util/makefile.mk 30 Jun 2008 23:52:56 -0000
@@ -78,7 +78,7 @@
.ELSE
.IF "$(OS)"=="NETBSD"
SHL1STDLIBS+= -lsupc++
-.ELIF "$(OS)"=="MACOSX"
+.ELIF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
.IF "$(CCNUMVER)"<="000399999999"
SHL1STDLIBS+= -lsupc++
.ENDIF # CCNUMVER

View File

@ -7,6 +7,7 @@
PORTNAME?= openoffice.org
PORTVERSION?= ${OOOVERSION}
PORTREVISION?= 1
CATEGORIES+= editors java
MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
http://openoffice.lunarshells.com/sources/ \
@ -104,11 +105,6 @@ PKGNAMESUFFIX= -${LANG_SUFFIX}
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_GCC= 4.2
#following part should sync with ports/Mk/bsd.gcc.mk
.if (${OSVERSION} >= 700042)
CONFIGURE_ARGS+= --with-system-stdlibs
.endif
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CCACHE_PREFIX= ccache
@ -146,7 +142,9 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
--enable-crashdump=yes \
--with-system-zlib \
--with-system-stdlibs \
--with-epm=internal
.if ${ARCH} == amd64
WITHOUT_MOZILLA= yes
LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost

View File

@ -0,0 +1,16 @@
Index: store/util/makefile.mk
===================================================================
RCS file: /cvs/ucb/store/util/makefile.mk,v
retrieving revision 1.24
diff -u -r1.24 makefile.mk
--- store/util/makefile.mk 10 Apr 2008 14:23:47 -0000 1.24
+++ store/util/makefile.mk 30 Jun 2008 23:52:56 -0000
@@ -78,7 +78,7 @@
.ELSE
.IF "$(OS)"=="NETBSD"
SHL1STDLIBS+= -lsupc++
-.ELIF "$(OS)"=="MACOSX"
+.ELIF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
.IF "$(CCNUMVER)"<="000399999999"
SHL1STDLIBS+= -lsupc++
.ENDIF # CCNUMVER

View File

@ -7,7 +7,7 @@
PORTNAME?= openoffice.org
PORTVERSION?= 2.4.${SNAPDATE}
PORTREVISION?= 3
PORTREVISION?= 4
PORTEPOCH?= 1
CATEGORIES+= editors java
MASTER_SITES+= http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
@ -107,11 +107,6 @@ PKGNAMESUFFIX= -${LANG_SUFFIX}
RUN_DEPENDS+= ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme
USE_GCC= 4.2
#following part should sync with ports/Mk/bsd.gcc.mk
.if (${OSVERSION} >= 700042)
CONFIGURE_ARGS+= --with-system-stdlibs
.endif
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
CCACHE_PREFIX= ccache
@ -153,7 +148,9 @@ CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
--enable-crashdump=yes \
--with-system-zlib \
--with-system-stdlibs \
--with-epm=internal
.if ${ARCH} == amd64
WITHOUT_MOZILLA= yes
LIB_DEPENDS+= boost_regex:${PORTSDIR}/devel/boost

View File

@ -0,0 +1,16 @@
Index: store/util/makefile.mk
===================================================================
RCS file: /cvs/ucb/store/util/makefile.mk,v
retrieving revision 1.24
diff -u -r1.24 makefile.mk
--- store/util/makefile.mk 10 Apr 2008 14:23:47 -0000 1.24
+++ store/util/makefile.mk 30 Jun 2008 23:52:56 -0000
@@ -78,7 +78,7 @@
.ELSE
.IF "$(OS)"=="NETBSD"
SHL1STDLIBS+= -lsupc++
-.ELIF "$(OS)"=="MACOSX"
+.ELIF "$(OS)"=="MACOSX" || "$(OS)"=="FREEBSD"
.IF "$(CCNUMVER)"<="000399999999"
SHL1STDLIBS+= -lsupc++
.ENDIF # CCNUMVER