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
This commit is contained in:
Gerald Pfeifer 2003-04-21 08:35:53 +00:00
parent 6f85843947
commit 8039f626dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=79400
3 changed files with 12 additions and 8 deletions

View File

@ -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/

View File

@ -1,5 +1,4 @@
@comment $FreeBSD$
bin/addr2name.awk
bin/cpp32
bin/g++filt32
bin/g++32
@ -9,23 +8,16 @@ bin/gcov32
bin/%%GNU_HOST%%-gcc32
bin/%%GNU_HOST%%-g++32
bin/gccbug-%%SNAPVER%%
bin/gij
bin/gcj32
bin/gcjh32
bin/jv-convert
bin/jv-scan32
bin/jcf-dump32
bin/jar32
bin/grepjar32
bin/rmic
bin/rmiregistry
@comment not needed post-libstdc++-v3: %%GNU_HOST%%/include/_G_config.h
@comment Insert PLIST.gcc-lib here
@comment -=[ begin PLIST.gcc-lib ]=-
@comment -=[ end PLIST.gcc-lib ]=-
lib/security/classpath.security
lib/security/libgcj.security
share/java/libgcj-3.2.2.jar
@unexec install-info --delete %D/info/cpp.info %D/info/dir
@unexec install-info --delete %D/info/cppinternals.info %D/info/dir
@unexec install-info --delete %D/info/g77.info %D/info/dir

View File

@ -0,0 +1,8 @@
bin/addr2name.awk
bin/gij
bin/jv-convert
bin/rmic
bin/rmiregistry
lib/security/classpath.security
lib/security/libgcj.security
share/java/libgcj-3.2.2.jar