summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/Makefile8
-rw-r--r--lang/gcc/PLIST225
2 files changed, 8 insertions, 225 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index 5bf25af84b1..00caef529c9 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.40 2002/03/28 17:17:41 jmc Exp $
+# $NetBSD: Makefile,v 1.41 2002/04/08 12:11:43 dmcmahill Exp $
# Make sure that the version number in "Makefile.gcc" matches this.
DISTNAME= gcc-2.95.3
@@ -31,8 +31,8 @@ WRKSRC= ${WRKDIR}/objdir
.if (${OPSYS} != SunOS)
CONFIGURE_ARGS+= --with-gnu-as --with-gnu-ld --infodir=${PREFIX}/info
-
GCC_PREFIX= ${LOCALBASE}/${PKGNAME}
+PLIST_SRC= ${WRKDIR}/PLIST_DYNAMIC
.else
.if (${CC} != gcc)
ALL_TARGET= bootstrap
@@ -80,6 +80,10 @@ post-install:
${RM} -f ${GCC_PREFIX}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/curses.h ${PREFIX}/${PKGNAME}/bin/cc
${LN} -s gcc ${PREFIX}/${PKGNAME}/bin/cc
${INSTALL_DATA} ${WRKDIR}/gcc.mk ${PREFIX}/etc/${PKGNAME}.mk
+ ${CP} -f ${PKGDIR}/PLIST ${PLIST_SRC}
+ ${FIND} ${PREFIX}/${PKGNAME} -type f -print | ${SORT} -r | ${SED} 's;${PREFIX}/;;g' >> ${PLIST_SRC}
+ ${FIND} ${PREFIX}/${PKGNAME} -type l -print | ${SORT} -r | ${SED} 's;${PREFIX}/;;g' >> ${PLIST_SRC}
+ ${FIND} ${PREFIX}/${PKGNAME} -type d -print | ${SORT} -r | ${SED} 's;${PREFIX}/;@dirrm ;g' >> ${PLIST_SRC}
.else
# remove empy file and directories that show up when one
# does make install; make deinstall; make install
diff --git a/lang/gcc/PLIST b/lang/gcc/PLIST
index 7d2c31e91c4..fa8c45fab82 100644
--- a/lang/gcc/PLIST
+++ b/lang/gcc/PLIST
@@ -1,214 +1,8 @@
-@comment $NetBSD: PLIST,v 1.5 2002/03/14 16:21:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2002/04/08 12:11:43 dmcmahill Exp $
etc/gcc-2.95.3.mk
-${PKGNAME}/bin/c++
-${PKGNAME}/bin/c++filt
-${PKGNAME}/bin/cc
-${PKGNAME}/bin/chill
-${PKGNAME}/bin/cpp
-${PKGNAME}/bin/g++
-${PKGNAME}/bin/g77
-${PKGNAME}/bin/gcc
-${PKGNAME}/bin/gcj
-${PKGNAME}/bin/gcjh
-${PKGNAME}/bin/gcov
-${PKGNAME}/bin/${MACHINE_GNU_PLATFORM}-gcc
-${PKGNAME}/bin/jcf-dump
-${PKGNAME}/bin/jv-scan
-${PKGNAME}/${MACHINE_GNU_PLATFORM}/include/_G_config.h
-${PKGNAME}/include/g++-3/PlotFile.h
-${PKGNAME}/include/g++-3/SFile.h
-${PKGNAME}/include/g++-3/algo.h
-${PKGNAME}/include/g++-3/algobase.h
-${PKGNAME}/include/g++-3/algorithm
-${PKGNAME}/include/g++-3/alloc.h
-${PKGNAME}/include/g++-3/bitset
-${PKGNAME}/include/g++-3/builtinbuf.h
-${PKGNAME}/include/g++-3/bvector.h
-${PKGNAME}/include/g++-3/cassert
-${PKGNAME}/include/g++-3/cctype
-${PKGNAME}/include/g++-3/cerrno
-${PKGNAME}/include/g++-3/cfloat
-${PKGNAME}/include/g++-3/ciso646
-${PKGNAME}/include/g++-3/climits
-${PKGNAME}/include/g++-3/clocale
-${PKGNAME}/include/g++-3/cmath
-${PKGNAME}/include/g++-3/complex
-${PKGNAME}/include/g++-3/complex.h
-${PKGNAME}/include/g++-3/csetjmp
-${PKGNAME}/include/g++-3/csignal
-${PKGNAME}/include/g++-3/cstdarg
-${PKGNAME}/include/g++-3/cstddef
-${PKGNAME}/include/g++-3/cstdio
-${PKGNAME}/include/g++-3/cstdlib
-${PKGNAME}/include/g++-3/cstring
-${PKGNAME}/include/g++-3/ctime
-${PKGNAME}/include/g++-3/cwchar
-${PKGNAME}/include/g++-3/cwctype
-${PKGNAME}/include/g++-3/defalloc.h
-${PKGNAME}/include/g++-3/deque
-${PKGNAME}/include/g++-3/deque.h
-${PKGNAME}/include/g++-3/editbuf.h
-${PKGNAME}/include/g++-3/floatio.h
-${PKGNAME}/include/g++-3/fstream
-${PKGNAME}/include/g++-3/fstream.h
-${PKGNAME}/include/g++-3/function.h
-${PKGNAME}/include/g++-3/functional
-${PKGNAME}/include/g++-3/hash_map
-${PKGNAME}/include/g++-3/hash_map.h
-${PKGNAME}/include/g++-3/hash_set
-${PKGNAME}/include/g++-3/hash_set.h
-${PKGNAME}/include/g++-3/hashtable.h
-${PKGNAME}/include/g++-3/heap.h
-${PKGNAME}/include/g++-3/indstream.h
-${PKGNAME}/include/g++-3/iolibio.h
-${PKGNAME}/include/g++-3/iomanip
-${PKGNAME}/include/g++-3/iomanip.h
-${PKGNAME}/include/g++-3/iosfwd
-${PKGNAME}/include/g++-3/iostdio.h
-${PKGNAME}/include/g++-3/iostream
-${PKGNAME}/include/g++-3/iostream.h
-${PKGNAME}/include/g++-3/iostreamP.h
-${PKGNAME}/include/g++-3/istream.h
-${PKGNAME}/include/g++-3/iterator
-${PKGNAME}/include/g++-3/iterator.h
-${PKGNAME}/include/g++-3/libio.h
-${PKGNAME}/include/g++-3/libioP.h
-${PKGNAME}/include/g++-3/list
-${PKGNAME}/include/g++-3/list.h
-${PKGNAME}/include/g++-3/map
-${PKGNAME}/include/g++-3/map.h
-${PKGNAME}/include/g++-3/memory
-${PKGNAME}/include/g++-3/multimap.h
-${PKGNAME}/include/g++-3/multiset.h
-${PKGNAME}/include/g++-3/numeric
-${PKGNAME}/include/g++-3/ostream.h
-${PKGNAME}/include/g++-3/pair.h
-${PKGNAME}/include/g++-3/parsestream.h
-${PKGNAME}/include/g++-3/pfstream.h
-${PKGNAME}/include/g++-3/procbuf.h
-${PKGNAME}/include/g++-3/pthread_alloc
-${PKGNAME}/include/g++-3/pthread_alloc.h
-${PKGNAME}/include/g++-3/queue
-${PKGNAME}/include/g++-3/rope
-${PKGNAME}/include/g++-3/rope.h
-${PKGNAME}/include/g++-3/ropeimpl.h
-${PKGNAME}/include/g++-3/set
-${PKGNAME}/include/g++-3/set.h
-${PKGNAME}/include/g++-3/slist
-${PKGNAME}/include/g++-3/slist.h
-${PKGNAME}/include/g++-3/sstream
-${PKGNAME}/include/g++-3/stack
-${PKGNAME}/include/g++-3/stack.h
-${PKGNAME}/include/g++-3/std/bastring.cc
-${PKGNAME}/include/g++-3/std/bastring.h
-${PKGNAME}/include/g++-3/std/complext.cc
-${PKGNAME}/include/g++-3/std/complext.h
-${PKGNAME}/include/g++-3/std/dcomplex.h
-${PKGNAME}/include/g++-3/std/fcomplex.h
-${PKGNAME}/include/g++-3/std/gslice.h
-${PKGNAME}/include/g++-3/std/gslice_array.h
-${PKGNAME}/include/g++-3/std/indirect_array.h
-${PKGNAME}/include/g++-3/std/ldcomplex.h
-${PKGNAME}/include/g++-3/std/mask_array.h
-${PKGNAME}/include/g++-3/std/slice.h
-${PKGNAME}/include/g++-3/std/slice_array.h
-${PKGNAME}/include/g++-3/std/std_valarray.h
-${PKGNAME}/include/g++-3/std/straits.h
-${PKGNAME}/include/g++-3/std/valarray_array.h
-${PKGNAME}/include/g++-3/std/valarray_array.tcc
-${PKGNAME}/include/g++-3/std/valarray_meta.h
-${PKGNAME}/include/g++-3/stdexcept
-${PKGNAME}/include/g++-3/stdiostream.h
-${PKGNAME}/include/g++-3/stl.h
-${PKGNAME}/include/g++-3/stl_algo.h
-${PKGNAME}/include/g++-3/stl_algobase.h
-${PKGNAME}/include/g++-3/stl_alloc.h
-${PKGNAME}/include/g++-3/stl_bvector.h
-${PKGNAME}/include/g++-3/stl_config.h
-${PKGNAME}/include/g++-3/stl_construct.h
-${PKGNAME}/include/g++-3/stl_deque.h
-${PKGNAME}/include/g++-3/stl_function.h
-${PKGNAME}/include/g++-3/stl_hash_fun.h
-${PKGNAME}/include/g++-3/stl_hash_map.h
-${PKGNAME}/include/g++-3/stl_hash_set.h
-${PKGNAME}/include/g++-3/stl_hashtable.h
-${PKGNAME}/include/g++-3/stl_heap.h
-${PKGNAME}/include/g++-3/stl_iterator.h
-${PKGNAME}/include/g++-3/stl_list.h
-${PKGNAME}/include/g++-3/stl_map.h
-${PKGNAME}/include/g++-3/stl_multimap.h
-${PKGNAME}/include/g++-3/stl_multiset.h
-${PKGNAME}/include/g++-3/stl_numeric.h
-${PKGNAME}/include/g++-3/stl_pair.h
-${PKGNAME}/include/g++-3/stl_queue.h
-${PKGNAME}/include/g++-3/stl_raw_storage_iter.h
-${PKGNAME}/include/g++-3/stl_relops.h
-${PKGNAME}/include/g++-3/stl_rope.h
-${PKGNAME}/include/g++-3/stl_set.h
-${PKGNAME}/include/g++-3/stl_slist.h
-${PKGNAME}/include/g++-3/stl_stack.h
-${PKGNAME}/include/g++-3/stl_tempbuf.h
-${PKGNAME}/include/g++-3/stl_tree.h
-${PKGNAME}/include/g++-3/stl_uninitialized.h
-${PKGNAME}/include/g++-3/stl_vector.h
-${PKGNAME}/include/g++-3/stream.h
-${PKGNAME}/include/g++-3/streambuf.h
-${PKGNAME}/include/g++-3/strfile.h
-${PKGNAME}/include/g++-3/string
-${PKGNAME}/include/g++-3/strstream
-${PKGNAME}/include/g++-3/strstream.h
-${PKGNAME}/include/g++-3/tempbuf.h
-${PKGNAME}/include/g++-3/tree.h
-${PKGNAME}/include/g++-3/type_traits.h
-${PKGNAME}/include/g++-3/utility
-${PKGNAME}/include/g++-3/valarray
-${PKGNAME}/include/g++-3/vector
-${PKGNAME}/include/g++-3/vector.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/cc1
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/cc1chill
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/cc1obj
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/cc1plus
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/chillrt0.o
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/collect2
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/cpp0
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/f771
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/README
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/exception
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/float.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/g2c.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/limits.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/math.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/new
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/new.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/NXConstStr.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/Object.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/Protocol.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/encoding.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/hash.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/objc-api.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/objc-list.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/objc.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/sarray.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/thr.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc/typedstream.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/syslimits.h
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/typeinfo
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/jc1
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/jvgenmain
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/libchill.a
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/libg2c.a
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/libgcc.a
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/libobjc.a
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/libstdc++.a
-${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/specs
-${PKGNAME}/lib/libiberty.a
-${PKGNAME}/lib/libstdc++.a.2.10.0nb1
-${PKGNAME}/man/man1/cccp.1
-${PKGNAME}/man/man1/g++.1
-${PKGNAME}/man/man1/g77.1
-${PKGNAME}/man/man1/gcc.1
@unexec ${INSTALL_INFO} --delete %D/info/chill.info %D/info/dir
info/chill.info
+@exec ${INSTALL_INFO} %D/info/chill.info %D/info/dir
@unexec ${INSTALL_INFO} --delete %D/info/cpp.info %D/info/dir
info/cpp.info
@exec ${INSTALL_INFO} %D/info/cpp.info %D/info/dir
@@ -272,18 +66,3 @@ info/gcc.info-6
info/gcc.info-7
info/gcc.info-8
info/gcc.info-9
-@dirrm ${PKGNAME}/man/man1
-@dirrm ${PKGNAME}/man
-@dirrm ${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include/objc
-@dirrm ${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}/include
-@dirrm ${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}/${PKGVERSION}
-@dirrm ${PKGNAME}/lib/gcc-lib/${MACHINE_GNU_PLATFORM}
-@dirrm ${PKGNAME}/lib/gcc-lib
-@dirrm ${PKGNAME}/lib
-@dirrm ${PKGNAME}/include/g++-3/std
-@dirrm ${PKGNAME}/include/g++-3
-@dirrm ${PKGNAME}/include
-@dirrm ${PKGNAME}/${MACHINE_GNU_PLATFORM}/include
-@dirrm ${PKGNAME}/${MACHINE_GNU_PLATFORM}
-@dirrm ${PKGNAME}/bin
-@dirrm ${PKGNAME}