summaryrefslogtreecommitdiff
path: root/lang/gcc32/Makefile
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2003-04-21 08:35:53 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2003-04-21 08:35:53 +0000
commit8039f626dddead72b0d9d9e647ccd71a94514d6b (patch)
treef2290ccf1469beffca353df523e24e759ab37db2 /lang/gcc32/Makefile
parentUpdate to 0.6.2. (diff)
On sparc64 libgcj is not built by default (and won't build easily), so we
need to dynamically construct pkg-plist to take this into account. Noticed by: bento+kris
Notes
Notes: svn path=/head/; revision=79400
Diffstat (limited to 'lang/gcc32/Makefile')
-rw-r--r--lang/gcc32/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index ccf862df660d..b1f588c40d6f 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -206,6 +206,10 @@ post-install:
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-gcc-lib
cd ${WRKDIR} ; ex < ex.script
+.if ${ARCH} != "sparc64"
+ # libgcj is built on all platforms except sparc64.
+ ${CAT} pkg-plist.libgcj >> ${TMPPLIST}
+.endif
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/ ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/snapshots/