1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Remove expired ports:

2006-12-01 print/latex-beamer: is already included in the teTeX distribution
2006-12-01 print/latex-bibtopic: is already included in the teTeX distribution
2006-12-01 print/latex-bibunits: is already included in the teTeX distribution
2006-12-01 print/latex-booktabs: is already included in the teTeX distribution
2006-12-01 print/latex-index: is already included in the teTeX distribution
2006-12-01 print/latex-layouts: is already included in the teTeX distribution
2006-12-01 print/latex-pgf: is already included in the teTeX distribution
2006-12-01 print/latex-subfig: is already included in the teTeX distribution
2006-12-01 print/latex-xcolor: is already included in the teTeX distribution
2006-12-01 print/latex-lineno: is already included in the teTeX distribution
2006-12-01 print/latex-pict2e: is already included in the teTeX distribution
2007-05-31 multimedia/gstreamer-plugins-mpeg2enc80: Obsolete version, use gstreamer 0.10 instead
2006-12-01 lang/gcc30: "This port is no longer in use by anything in the ports collection and will be removed in the future.  Use a later release instead."
2006-12-01 lang/egcs: "This port is no longer in use by anything in the ports collection and will be removed in the future.  Use a later release of gcc instead"
2006-12-01 graphics/php4-ming: doesn't work with new version of ming library
2006-12-01 graphics/dvipng: is already included in the teTeX distribution
This commit is contained in:
Vasil Dimov 2006-12-12 16:06:42 +00:00
parent a3725cb2bb
commit 37a9257fe9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179575
100 changed files with 16 additions and 4210 deletions

16
MOVED
View File

@ -2574,3 +2574,19 @@ print/py-freetype||2006-12-12|Has expired: Project has disappeared and is no lon
palm/syncal||2006-12-12|Has expired: Does not build with new pilot-link
net/tn3270||2006-12-12|Has expired: dumps core. Please use net/c3270 instead
multimedia/dvdwizard||2006-12-12|Has expired: has an incomplete dependency list
print/latex-beamer||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-bibtopic||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-bibunits||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-booktabs||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-index||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-layouts||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-pgf||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-subfig||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-xcolor||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-lineno||2006-12-12|Has expired: is already included in the teTeX distribution
print/latex-pict2e||2006-12-12|Has expired: is already included in the teTeX distribution
multimedia/gstreamer-plugins-mpeg2enc80||2006-12-12|Has expired: Obsolete version, use gstreamer 0.10 instead
lang/gcc30||2006-12-12|Has expired: "This port is no longer in use by anything in the ports collection and will be removed in the future. Use a later release instead."
lang/egcs||2006-12-12|Has expired: "This port is no longer in use by anything in the ports collection and will be removed in the future. Use a later release of gcc instead"
graphics/php4-ming||2006-12-12|Has expired: doesn't work with new version of ming library
graphics/dvipng||2006-12-12|Has expired: is already included in the teTeX distribution

View File

@ -91,7 +91,6 @@
SUBDIR += driconf
SUBDIR += drm-kmod
SUBDIR += duhdraw
SUBDIR += dvipng
SUBDIR += dynamechs
SUBDIR += ecg2png
SUBDIR += edje
@ -508,7 +507,6 @@
SUBDIR += php4-exif
SUBDIR += php4-ffmpeg
SUBDIR += php4-gd
SUBDIR += php4-ming
SUBDIR += php5-exif
SUBDIR += php5-ffmpeg
SUBDIR += php5-gd

View File

@ -1,43 +0,0 @@
# ex:ts=8
# Ports collection makefile for: dvipng
# Date created: Dec 9, 2003
# Whom: o_sleep
#
# $FreeBSD$
#
PORTNAME= dvipng
PORTVERSION= 1.4
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= DVI to PNG Converter
BUILD_DEPENDS= kpsepath:${PORTSDIR}/print/teTeX-base
LIB_DEPENDS= t1.5:${PORTSDIR}/devel/t1lib \
gd.4:${PORTSDIR}/graphics/gd
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= dvipng.1
MLINKS= dvipng.1 dvigif.1
INFO= dvipng
PLIST_FILES= bin/dvigif bin/dvipng
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dvipng ${PREFIX}/bin
${LN} -sf dvipng ${PREFIX}/bin/dvigif
${INSTALL_MAN} ${WRKSRC}/dvipng.1 ${MANPREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/dvipng.info ${PREFIX}/info
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (dvipng-1.4.tar.gz) = 3c25206dda05bf9c8907a7b0097b2263
SHA256 (dvipng-1.4.tar.gz) = 3ab350d11819c2b596078201da6ec539b3c87b5a7cac6ad83c524d1d4479f215
SIZE (dvipng-1.4.tar.gz) = 146177

View File

@ -1,4 +0,0 @@
This program makes PNG graphics from DVI files as obtained from TeX
and its relatives.
WWW: http://sourceforge.net/projects/preview-latex/

View File

@ -1,18 +0,0 @@
# New ports collection makefile for: php4-ming
# Date created: 7 Jul 2004
# Whom: Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$
#
CATEGORIES= graphics
MASTERDIR= ${.CURDIR}/../../lang/php4
PKGNAMESUFFIX= -ming
BROKEN= doesn't work with new version of ming library
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
.include "${MASTERDIR}/Makefile"

View File

@ -38,7 +38,6 @@
SUBDIR += drscheme
SUBDIR += dylan
SUBDIR += ecl
SUBDIR += egcs
SUBDIR += eiffel
SUBDIR += elan
SUBDIR += elisp-manual
@ -75,7 +74,6 @@
SUBDIR += gcc-ooo
SUBDIR += gcc28
SUBDIR += gcc295
SUBDIR += gcc30
SUBDIR += gcc32
SUBDIR += gcc33
SUBDIR += gcc34

View File

@ -1,114 +0,0 @@
# ex:ts=8
# Ports collection makefile for: egcs
# Version required: 1998-09-14
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
# $FreeBSD$
#
PORTNAME= egcs
PORTVERSION= 1.1.2
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= releases/${PORTNAME}-${PORTVERSION}
DISTFILES= egcs-core-1.1.2${EXTRACT_SUFX} egcs-g++-1.1.2${EXTRACT_SUFX} \
egcs-g77-1.1.2${EXTRACT_SUFX} egcs-objc-1.1.2${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= EGCS enhanced version of the GNU compiler suite
USE_BZIP2= yes
ONLY_FOR_ARCHS= i386
NO_CDROM= 'old version, not worth the cost in real estate'
INFO= cpp g77 gcc
DEPRECATED= "This port is no longer in use by anything in the ports collection and will be removed in the future. Use a later release of gcc instead"
EXPIRATION_DATE=2006-12-01
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile (bad C++ code)"
.endif
.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
.endif
EGCS_REV= egcs-2.91.66
.if ${PORTOBJFORMAT} == "elf"
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
PLIST_SUB= EGCS_REV=${EGCS_REV} GNU_HOST=${CONFIGURE_TARGET}
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld \
--with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/include/g++
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+=--enable-shared
.endif
ALL_TARGET= bootstrap
MAN1= cccp.1 g++.1 g77.1 gcc.1
pre-patch:
@${MV} ${WRKSRC}/gcc/config/i386/t-freebsd ${WRKSRC}/gcc/config/
@${MV} ${WRKSRC}/gcc/config/i386/freebsd.h ${WRKSRC}/gcc/config/i386/freebsd-aout.h
@${MV} ${WRKSRC}/gcc/config/i386/freebsd-elf.h ${WRKSRC}/gcc/config/i386/freebsd.h
@${CP} ${FILESDIR}/alpha-freebsd-elf.h ${WRKSRC}/gcc/config/alpha/freebsd-elf.h
@${CP} ${FILESDIR}/alpha-freebsd.h ${WRKSRC}/gcc/config/alpha/freebsd.h
pre-configure:
@# Keep from running `autoconf' and `autoheader' since we modified
@# configure.in by patching it.
@touch ${WRKSRC}/gcc/configure
@touch ${WRKSRC}/gcc/cstamp-h.in
@(MAJ=`/sbin/sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" ${FILESDIR}/freebsd.h \
>${WRKSRC}/gcc/config/freebsd.h )
pre-install:
${MKDIR} ${PREFIX}/info
post-install:
@${RM} -f ${PREFIX}/bin/c++
@${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt
@(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \
${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1 \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1obj \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cc1plus \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/cpp \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/collect2 \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/f771 ; \
do ${STRIP_CMD} $$prog ; \
done)
${LN} -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
${LN} -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
${MV} ${PREFIX}/lib/libiberty.a \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
${MV} -f ${PREFIX}/lib/libstdc++.a \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}/libstdc++.a
.if defined(WANT_SHAREDLIBS)
${MV} -f ${PREFIX}/lib/libstdc++.so* \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV}
.endif
cd ${PREFIX} ;\
${FIND} lib/gcc-lib/${CONFIGURE_TARGET}/${EGCS_REV} \
-type f -o -type l >${WRKDIR}/PLIST.gcc-lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-gcc-lib
cd ${WRKDIR} ; ex < ex.script
.include <bsd.port.post.mk>

View File

@ -1,12 +0,0 @@
MD5 (egcs-core-1.1.2.tar.bz2) = ad12b8eb6014a3f4fd3fe7f9bd6df01d
SHA256 (egcs-core-1.1.2.tar.bz2) = dcce242ea948c986690a8c8b710b92665fdf310b43e40157b2163ff4ee9f5909
SIZE (egcs-core-1.1.2.tar.bz2) = 6242306
MD5 (egcs-g++-1.1.2.tar.bz2) = defecf8027a98c18b0ecbff0ab970243
SHA256 (egcs-g++-1.1.2.tar.bz2) = fb6de776497dc6a0cf9241ecbb6fffb45ea6b823f95f82a3c510cd7e2321ea38
SIZE (egcs-g++-1.1.2.tar.bz2) = 1183411
MD5 (egcs-g77-1.1.2.tar.bz2) = d5e7e645896a549bdbdfebbb01bc3235
SHA256 (egcs-g77-1.1.2.tar.bz2) = 520740ad34f5f6bbc611b918cde3f7a89f42455767672716e5b68dd11b3a9fb5
SIZE (egcs-g77-1.1.2.tar.bz2) = 942606
MD5 (egcs-objc-1.1.2.tar.bz2) = 91e12ee2e12fa866aeec41174bcf1dfe
SHA256 (egcs-objc-1.1.2.tar.bz2) = e463e1113f2294a914c48f0b6a0537504dec6a5e9038ef2fb5d62300a48c2250
SIZE (egcs-objc-1.1.2.tar.bz2) = 202397

View File

@ -1,61 +0,0 @@
/* Definitions of target machine for GNU compiler
for Alpha FreeBSD systems using ELF.
Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (FreeBSD/alpha ELF)");
#undef SUB_CPP_PREDEFINES
#define SUB_CPP_PREDEFINES "-D__ELF__"
#undef SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS \
{ "elf_dynamic_linker", ELF_DYNAMIC_LINKER },
#define ELF_DYNAMIC_LINKER "/usr/libexec/ld-elf.so.1"
#undef LINK_SPEC
#define LINK_SPEC "-m elf64alpha %{G*} %{relax:-relax} \
%{O*:-O3} %{!O*:-O1} \
%{assert*} \
%{shared:-shared} \
%{!shared: \
-dc -dp \
%{!nostdlib:%{!r*:%{!e*:-e _start}}} \
%{!static: \
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker %(elf_dynamic_linker)}} \
%{static:-static}}"
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
"%{!shared: %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
/* Provide a ENDFILE_SPEC appropriate for ELF. Here we tack on the
magical crtend.o file which provides part of the support for
getting C++ file-scope static object constructed before entering
`main', followed by a normal ELF "finalizer" file, `crtn.o'. */
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
"%{!shared:crtend.o%s} %{shared:crtendS.o%s}"
/* We support #pragma. */
#define HANDLE_SYSV_PRAGMA

View File

@ -1,443 +0,0 @@
/* Definitions of target machine for GNU compiler,
for Alpha FreeBSD systems.
Copyright (C) 1998 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* This is used on Alpha platforms that use the ELF format.
This was taken from the NetBSD configuration, and modified
for FreeBSD/alpha by Hidetoshi Shimokawa <simokawa@FreeBSD.ORG> */
/* Get generic FreeBSD definitions. */
#include <freebsd.h>
#undef OBJECT_FORMAT_COFF
#undef EXTENDED_COFF
#define OBJECT_FORMAT_ELF
/* This is BSD, so it wants DBX format. */
#define DBX_DEBUGGING_INFO
/* This is the char to use for continuation (in case we need to turn
continuation back on). */
#define DBX_CONTIN_CHAR '?'
#undef ASM_FINAL_SPEC
/* Names to predefine in the preprocessor for this target machine.
XXX FreeBSD, by convention, shouldn't do __alpha, but lots of applications
expect it because that's what OSF/1 does. */
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_FP | MASK_FPREGS | MASK_GAS)
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "\
-D__alpha__ -D__alpha -Acpu(alpha) -Amachine(alpha) " \
CPP_FBSD_PREDEFINES \
SUB_CPP_PREDEFINES
/* Make gcc agree with <machine/ansi.h> */
#undef WCHAR_TYPE
#define WCHAR_TYPE "int"
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. Under FreeBSD/Alpha, the assembler does
nothing special with -pg. */
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
fputs ("\tjsr $28,_mcount\n", (FILE))
/* Show that we need a GP when profiling. */
#define TARGET_PROFILING_NEEDS_GP
#undef HAS_INIT_SECTION
/* Provide an ASM_SPEC appropriate for a FreeBSD/alpha target. This differs
from the generic FreeBSD ASM_SPEC in that no special handling of PIC is
necessary on the Alpha. */
#undef ASM_SPEC
#define ASM_SPEC " %| %{mcpu=*:-m%*}"
/* Output at beginning of assembler file. */
#undef ASM_FILE_START
#define ASM_FILE_START(FILE) \
{ \
alpha_write_verstamp (FILE); \
output_file_directive (FILE, main_input_filename); \
fprintf (FILE, "\t.version\t\"01.01\"\n"); \
fprintf (FILE, "\t.set noat\n"); \
}
#define ASM_OUTPUT_SOURCE_LINE(STREAM, LINE) \
alpha_output_lineno (STREAM, LINE)
extern void alpha_output_lineno ();
extern void output_file_directive ();
/* Attach a special .ident directive to the end of the file to identify
the version of GCC which compiled this code. The format of the
.ident string is patterned after the ones produced by native svr4
C compilers. */
#define IDENT_ASM_OP ".ident"
#ifdef IDENTIFY_WITH_IDENT
#define ASM_IDENTIFY_GCC(FILE) /* nothing */
#define ASM_IDENTIFY_LANGUAGE(FILE) \
fprintf(FILE, "\t%s \"GCC (%s) %s\"\n", IDENT_ASM_OP, \
lang_identify(), version_string)
#else
#define ASM_FILE_END(FILE) \
do { \
fprintf ((FILE), "\t%s\t\"GCC: (GNU) %s\"\n", \
IDENT_ASM_OP, version_string); \
} while (0)
#endif
/* Allow #sccs in preprocessor. */
#define SCCS_DIRECTIVE
/* Output #ident as a .ident. */
#define ASM_OUTPUT_IDENT(FILE, NAME) \
fprintf (FILE, "\t%s\t\"%s\"\n", IDENT_ASM_OP, NAME);
/* This is how to allocate empty space in some section. The .zero
pseudo-op is used for this on most svr4 assemblers. */
#define SKIP_ASM_OP ".zero"
#undef ASM_OUTPUT_SKIP
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "\t%s\t%u\n", SKIP_ASM_OP, (SIZE))
/* Output the label which precedes a jumptable. Note that for all svr4
systems where we actually generate jumptables (which is to say every
svr4 target except i386, where we use casesi instead) we put the jump-
tables into the .rodata section and since other stuff could have been
put into the .rodata section prior to any given jumptable, we have to
make sure that the location counter for the .rodata section gets pro-
perly re-aligned prior to the actual beginning of the jump table. */
#define ALIGN_ASM_OP ".align"
#ifndef ASM_OUTPUT_BEFORE_CASE_LABEL
#define ASM_OUTPUT_BEFORE_CASE_LABEL(FILE,PREFIX,NUM,TABLE) \
ASM_OUTPUT_ALIGN ((FILE), 2);
#endif
#undef ASM_OUTPUT_CASE_LABEL
#define ASM_OUTPUT_CASE_LABEL(FILE,PREFIX,NUM,JUMPTABLE) \
do { \
ASM_OUTPUT_BEFORE_CASE_LABEL (FILE, PREFIX, NUM, JUMPTABLE) \
ASM_OUTPUT_INTERNAL_LABEL (FILE, PREFIX, NUM); \
} while (0)
/* The standard SVR4 assembler seems to require that certain builtin
library routines (e.g. .udiv) be explicitly declared as .globl
in each assembly file where they are referenced. */
#define ASM_OUTPUT_EXTERNAL_LIBCALL(FILE, FUN) \
ASM_GLOBALIZE_LABEL (FILE, XSTR (FUN, 0))
/* This says how to output assembler code to declare an
uninitialized external linkage data object. Under SVR4,
the linker seems to want the alignment of data objects
to depend on their types. We do exactly that here. */
#define COMMON_ASM_OP ".comm"
#undef ASM_OUTPUT_ALIGNED_COMMON
#define ASM_OUTPUT_ALIGNED_COMMON(FILE, NAME, SIZE, ALIGN) \
do { \
fprintf ((FILE), "\t%s\t", COMMON_ASM_OP); \
assemble_name ((FILE), (NAME)); \
fprintf ((FILE), ",%u,%u\n", (SIZE), (ALIGN) / BITS_PER_UNIT); \
} while (0)
/* This says how to output assembler code to declare an
uninitialized internal linkage data object. Under SVR4,
the linker seems to want the alignment of data objects
to depend on their types. We do exactly that here. */
#define LOCAL_ASM_OP ".local"
#undef ASM_OUTPUT_ALIGNED_LOCAL
#define ASM_OUTPUT_ALIGNED_LOCAL(FILE, NAME, SIZE, ALIGN) \
do { \
fprintf ((FILE), "\t%s\t", LOCAL_ASM_OP); \
assemble_name ((FILE), (NAME)); \
fprintf ((FILE), "\n"); \
ASM_OUTPUT_ALIGNED_COMMON (FILE, NAME, SIZE, ALIGN); \
} while (0)
/* This is the pseudo-op used to generate a 64-bit word of data with a
specific value in some section. */
#define INT_ASM_OP ".quad"
/* This is the pseudo-op used to generate a contiguous sequence of byte
values from a double-quoted string WITHOUT HAVING A TERMINATING NUL
AUTOMATICALLY APPENDED. This is the same for most svr4 assemblers. */
#undef ASCII_DATA_ASM_OP
#define ASCII_DATA_ASM_OP ".ascii"
/* Support const sections and the ctors and dtors sections for g++.
Note that there appears to be two different ways to support const
sections at the moment. You can either #define the symbol
READONLY_DATA_SECTION (giving it some code which switches to the
readonly data section) or else you can #define the symbols
EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS, SELECT_SECTION, and
SELECT_RTX_SECTION. We do both here just to be on the safe side. */
#define USE_CONST_SECTION 1
#define CONST_SECTION_ASM_OP ".section\t.rodata"
/* Define the pseudo-ops used to switch to the .ctors and .dtors sections.
Note that we want to give these sections the SHF_WRITE attribute
because these sections will actually contain data (i.e. tables of
addresses of functions in the current root executable or shared library
file) and, in the case of a shared library, the relocatable addresses
will have to be properly resolved/relocated (and then written into) by
the dynamic linker when it actually attaches the given shared library
to the executing process. (Note that on SVR4, you may wish to use the
`-z text' option to the ELF linker, when building a shared library, as
an additional check that you are doing everything right. But if you do
use the `-z text' option when building a shared library, you will get
errors unless the .ctors and .dtors sections are marked as writable
via the SHF_WRITE attribute.) */
#define CTORS_SECTION_ASM_OP ".section\t.ctors,\"aw\""
#define DTORS_SECTION_ASM_OP ".section\t.dtors,\"aw\""
/* On svr4, we *do* have support for the .init and .fini sections, and we
can put stuff in there to be executed before and after `main'. We let
crtstuff.c and other files know this by defining the following symbols.
The definitions say how to change sections to the .init and .fini
sections. This is the same for all known svr4 assemblers. */
#define INIT_SECTION_ASM_OP ".section\t.init"
#define FINI_SECTION_ASM_OP ".section\t.fini"
/* A default list of other sections which we might be "in" at any given
time. For targets that use additional sections (e.g. .tdesc) you
should override this definition in the target-specific file which
includes this file. */
#undef EXTRA_SECTIONS
#define EXTRA_SECTIONS in_const, in_ctors, in_dtors
/* A default list of extra section function definitions. For targets
that use additional sections (e.g. .tdesc) you should override this
definition in the target-specific file which includes this file. */
#undef EXTRA_SECTION_FUNCTIONS
#define EXTRA_SECTION_FUNCTIONS \
CONST_SECTION_FUNCTION \
CTORS_SECTION_FUNCTION \
DTORS_SECTION_FUNCTION
#undef READONLY_DATA_SECTION
#define READONLY_DATA_SECTION() const_section ()
extern void text_section ();
#define CONST_SECTION_FUNCTION \
void \
const_section () \
{ \
if (!USE_CONST_SECTION) \
text_section(); \
else if (in_section != in_const) \
{ \
fprintf (asm_out_file, "%s\n", CONST_SECTION_ASM_OP); \
in_section = in_const; \
} \
}
#define CTORS_SECTION_FUNCTION \
void \
ctors_section () \
{ \
if (in_section != in_ctors) \
{ \
fprintf (asm_out_file, "%s\n", CTORS_SECTION_ASM_OP); \
in_section = in_ctors; \
} \
}
#define DTORS_SECTION_FUNCTION \
void \
dtors_section () \
{ \
if (in_section != in_dtors) \
{ \
fprintf (asm_out_file, "%s\n", DTORS_SECTION_ASM_OP); \
in_section = in_dtors; \
} \
}
/* Switch into a generic section.
This is currently only used to support section attributes.
We make the section read-only and executable for a function decl,
read-only for a const data decl, and writable for a non-const data decl. */
#define ASM_OUTPUT_SECTION_NAME(FILE, DECL, NAME, RELOC) \
fprintf (FILE, ".section\t%s,\"%s\",@progbits\n", NAME, \
(DECL) && TREE_CODE (DECL) == FUNCTION_DECL ? "ax" : \
(DECL) && DECL_READONLY_SECTION (DECL, RELOC) ? "a" : "aw")
/* A C statement (sans semicolon) to output an element in the table of
global constructors. */
#define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
do { \
ctors_section (); \
fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
/* A C statement (sans semicolon) to output an element in the table of
global destructors. */
#define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
do { \
dtors_section (); \
fprintf (FILE, "\t%s\t ", INT_ASM_OP); \
assemble_name (FILE, NAME); \
fprintf (FILE, "\n"); \
} while (0)
/* A C statement or statements to switch to the appropriate
section for output of DECL. DECL is either a `VAR_DECL' node
or a constant of some sort. RELOC indicates whether forming
the initial value of DECL requires link-time relocations. */
#define SELECT_SECTION(DECL,RELOC) \
{ \
if (TREE_CODE (DECL) == STRING_CST) \
{ \
if (! flag_writable_strings) \
const_section (); \
else \
data_section (); \
} \
else if (TREE_CODE (DECL) == VAR_DECL) \
{ \
if ((flag_pic && RELOC) \
|| !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \
|| !DECL_INITIAL (DECL) \
|| (DECL_INITIAL (DECL) != error_mark_node \
&& !TREE_CONSTANT (DECL_INITIAL (DECL)))) \
data_section (); \
else \
const_section (); \
} \
else \
const_section (); \
}
/* A C statement or statements to switch to the appropriate
section for output of RTX in mode MODE. RTX is some kind
of constant in RTL. The argument MODE is redundant except
in the case of a `const_int' rtx. Currently, these always
go into the const section. */
#undef SELECT_RTX_SECTION
#define SELECT_RTX_SECTION(MODE,RTX) const_section()
/* Define the strings used for the special svr4 .type and .size directives.
These strings generally do not vary from one system running svr4 to
another, but if a given system (e.g. m88k running svr) needs to use
different pseudo-op names for these, they may be overridden in the
file which includes this one. */
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
/* This is how we tell the assembler that two symbols have the same value. */
#define ASM_OUTPUT_DEF(FILE,NAME1,NAME2) \
do { assemble_name(FILE, NAME1); \
fputs(" = ", FILE); \
assemble_name(FILE, NAME2); \
fputc('\n', FILE); } while (0)
/* A table of bytes codes used by the ASM_OUTPUT_ASCII and
ASM_OUTPUT_LIMITED_STRING macros. Each byte in the table
corresponds to a particular byte value [0..255]. For any
given byte value, if the value in the corresponding table
position is zero, the given character can be output directly.
If the table value is 1, the byte must be output as a \ooo
octal escape. If the tables value is anything else, then the
byte value should be output as a \ followed by the value
in the table. Note that we can use standard UN*X escape
sequences for many control characters, but we don't use
\a to represent BEL because some svr4 assemblers (e.g. on
the i386) don't know about that. Also, we don't use \v
since some versions of gas, such as 2.2 did not accept it. */
#define ESCAPES \
"\1\1\1\1\1\1\1\1btn\1fr\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\
\0\0\"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\\\0\0\0\
\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\1\
\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\
\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\
\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\
\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1"
/* Some svr4 assemblers have a limit on the number of characters which
can appear in the operand of a .string directive. If your assembler
has such a limitation, you should define STRING_LIMIT to reflect that
limit. Note that at least some svr4 assemblers have a limit on the
actual number of bytes in the double-quoted string, and that they
count each character in an escape sequence as one byte. Thus, an
escape sequence like \377 would count as four bytes.
If your target assembler doesn't support the .string directive, you
should define this to zero.
*/
#define STRING_LIMIT ((unsigned) 256)
#define STRING_ASM_OP ".string"
/*
* We always use gas here, so we don't worry about ECOFF assembler problems.
*/
#undef TARGET_GAS
#define TARGET_GAS (1)
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG

View File

@ -1,83 +0,0 @@
/* Base configuration file for all FreeBSD targets.
Copyright (C) 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* Common FreeBSD configuration.
All FreeBSD architectures should include this file, which will specify
their commonalities.
Adapted from /usr/src/contrib/gcc/config/i386/freebsd.h &
egcs/gcc/config/i386/freebsd-elf.h version by David O'Brien */
/* Don't assume anything about the header files. */
#undef NO_IMPLICIT_EXTERN_C
#define NO_IMPLICIT_EXTERN_C
/* This defines which switch letters take arguments. On FreeBSD, most of
the normal cases (defined in gcc.c) apply, and we also have -h* and
-z* options (for the linker) (comming from svr4).
We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */
#undef SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR) \
(DEFAULT_SWITCH_TAKES_ARG (CHAR) \
|| (CHAR) == 'h' \
|| (CHAR) == 'z' /* ignored by ld */ \
|| (CHAR) == 'R')
#undef WORD_SWITCH_TAKES_ARG
#define WORD_SWITCH_TAKES_ARG(STR) \
(DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \
|| !strcmp (STR, "rpath") || !strcmp (STR, "rpath-link") \
|| !strcmp (STR, "soname") || !strcmp (STR, "defsym") \
|| !strcmp (STR, "assert") || !strcmp (STR, "dynamic-linker"))
#define CPP_FBSD_PREDEFINES " -Dunix -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) "
/* Code generation parameters. */
/* Don't default to pcc-struct-return, because gcc is the only compiler, and
we want to retain compatibility with older gcc versions.
(even though the svr4 ABI for the i386 says that records and unions are
returned in memory) */
#undef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 0
/* Ensure we the configuration knows our system correctly so we can link with
libraries compiled with the native cc. */
#undef NO_DOLLAR_IN_LABEL
/* Use more efficient ``thunks'' to implement C++ vtables. XXX note that
this setting is claimed to have a few bugs by the EGCS maintainers. They
believe the bugs will be worked out in EGCS 1.2. */
#undef DEFAULT_VTABLE_THUNKS
#define DEFAULT_VTABLE_THUNKS 1
/* Our malloc can allocte pagesized blocks efficiently. The default size
of 4072 bytes is not optimal on the i386 nor the Alpha. */
#undef OBSTACK_CHUNK_SIZE
#define OBSTACK_CHUNK_SIZE (getpagesize())
/* Miscellaneous parameters. */
/* Tell libgcc2.c that FreeBSD targets support atexit(3). */
#define HAVE_ATEXIT

View File

@ -1,12 +0,0 @@
--- gcc/cpp.texi.orig Mon Aug 11 08:57:05 1997
+++ gcc/cpp.texi Sat Jan 10 11:59:15 1998
@@ -1,5 +1,9 @@
\input texinfo
@setfilename cpp.info
+@dircategory The egcs enhanced GNU compiler suite
+@direntry
+* cpp: (cpp). The egcs C/C++ preprocessor.
+@end direntry
@settitle The C Preprocessor
@ignore

View File

@ -1,11 +0,0 @@
--- gcc/f/g77.texi.orig Thu Jun 4 03:41:18 1998
+++ gcc/f/g77.texi Tue Jun 9 17:52:16 1998
@@ -150,7 +150,7 @@
@dircategory Programming
@direntry
-* g77: (g77). The GNU Fortran compiler.
+* g77: (g77). The EGCS GNU Fortran compiler.
@end direntry
@node Top, Copying,, (DIR)
@top Introduction

View File

@ -1,13 +0,0 @@
--- gcc/gcc.texi.orig Fri Jan 2 15:38:11 1998
+++ gcc/gcc.texi Sat Jan 10 11:56:49 1998
@@ -1,6 +1,10 @@
>\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename gcc.info
+@dircategory The egcs enhanced GNU compiler suite
+@direntry
+* gcc: (gcc). The egcs C/C++ compiler.
+@end direntry
@c @setfilename usegcc.info
@c @setfilename portgcc.info
@c To produce the full manual, use the "gcc.info" setfilename, and

View File

@ -1,112 +0,0 @@
--- gcc/config/i386/freebsd-aout.h.orig Mon Mar 1 14:47:33 1999
+++ gcc/config/i386/freebsd-aout.h Sat Mar 20 00:27:02 1999
@@ -20,6 +20,10 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+
+/* Get generic FreeBSD definitions. */
+#include <freebsd.h>
+
/* This goes away when the math-emulator is fixed */
#define TARGET_CPU_DEFAULT 0400 /* TARGET_NO_FANCY_MATH_387 */
@@ -35,7 +39,7 @@
#include "i386/perform.h"
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-Dunix -Di386 -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
+#define CPP_PREDEFINES "-Di386 -Acpu(i386) -Amachine(i386)" CPP_FBSD_PREDEFINES
/* Like the default, except no -lg. */
#define LIB_SPEC "%{!shared:%{!pg:-lc}%{pg:-lc_p}}"
@@ -85,14 +89,6 @@
necessary when compiling PIC code. */
#define JUMP_TABLES_IN_TEXT_SECTION 1
-
-/* Don't default to pcc-struct-return, because gcc is the only compiler, and
- we want to retain compatibility with older gcc versions. */
-#define DEFAULT_PCC_STRUCT_RETURN 0
-
-/* Ensure we the configuration knows our system correctly so we can link with
- libraries compiled with the native cc. */
-#undef NO_DOLLAR_IN_LABEL
/* i386 freebsd still uses old binutils that don't insert nops by default
when the .align directive demands to insert extra space in the text
@@ -103,19 +99,18 @@
/* Profiling routines, partially copied from i386/osfrose.h. */
-/* Redefine this to use %eax instead of %edx. */
+/* Tell final.c that we don't need a label passed to mcount. */
+#define NO_PROFILE_DATA
+
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
{ \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%eax\n", \
- LPREFIX, (LABELNO)); \
fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
} \
else \
{ \
- fprintf (FILE, "\tmovl $%sP%d,%%eax\n", LPREFIX, (LABELNO)); \
fprintf (FILE, "\tcall mcount\n"); \
} \
}
@@ -133,6 +128,7 @@
#define TYPE_ASM_OP ".type"
#define SIZE_ASM_OP ".size"
+#define SET_ASM_OP ".set"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers
@@ -142,6 +138,12 @@
#define TYPE_OPERAND_FMT "@%s"
+#define HANDLE_SYSV_PRAGMA 1
+
+#define ASM_WEAKEN_LABEL(FILE,NAME) \
+ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
+ fputc ('\n', FILE); } while (0)
+
/* Write the extra assembler code needed to declare a function's result.
Most svr4 assemblers don't require any special declaration of the
result value, but there are exceptions. */
@@ -244,29 +246,4 @@
"%{shared:c++rt0.o%s} \
%{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}"
-/* This is defined when gcc is compiled in the BSD-directory-tree, and must
- * make up for the gap to all the stuff done in the GNU-makefiles.
- */
-
-#ifdef FREEBSD_NATIVE
-
-#define INCLUDE_DEFAULTS { \
- { "/usr/include", 0, 0, 0 }, \
- { "/usr/include/g++", "G++", 1, 1 }, \
- { 0, 0, 0, 0} \
- }
-
-#undef MD_EXEC_PREFIX
-#define MD_EXEC_PREFIX "/usr/libexec/"
-
-#undef STANDARD_STARTFILE_PREFIX
-#define STANDARD_STARTFILE_PREFIX "/usr/lib"
-
-#if 0 /* This is very wrong!!! */
-#define DEFAULT_TARGET_MACHINE "i386-unknown-freebsd_1.0"
-#define GPLUSPLUS_INCLUDE_DIR "/usr/local/lib/gcc-lib/i386-unknown-freebsd_1.0/2.5.8/include"
-#define TOOL_INCLUDE_DIR "/usr/local/i386-unknown-freebsd_1.0/include"
-#define GCC_INCLUDE_DIR "/usr/local/lib/gcc-lib/i386-unknown-freebsd_1.0/2.5.8/include"
-#endif
-
-#endif /* FREEBSD_NATIVE */
+#define MD_STARTFILE_PREFIX "/usr/lib/aout/"

View File

@ -1,87 +0,0 @@
--- gcc/config/i386/freebsd.h.orig Mon Mar 1 14:47:32 1999
+++ gcc/config/i386/freebsd.h Sun Nov 24 22:38:28 2002
@@ -24,16 +24,6 @@
#undef TARGET_VERSION
#define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)");
-/* The svr4 ABI for the i386 says that records and unions are returned
- in memory. */
-/* On FreeBSD, we do not. */
-#undef DEFAULT_PCC_STRUCT_RETURN
-#define DEFAULT_PCC_STRUCT_RETURN 0
-
-/* This gets defined in tm.h->linux.h->svr4.h, and keeps us from using
- libraries compiled with the native cc, so undef it. */
-#undef NO_DOLLAR_IN_LABEL
-
/* This is how to output an element of a case-vector that is relative.
This is only used for PIC code. See comments by the `casesi' insn in
i386.md for an explanation of the expression this outputs. */
@@ -113,22 +103,19 @@
: ((n) >= FIRST_STACK_REG && (n) <= LAST_STACK_REG) ? (n)+3 \
: (-1))
-/* Output assembler code to FILE to increment profiler label # LABELNO
- for profiling a function entry. */
+/* Tell final.c that we don't need a label passed to mcount. */
+#define NO_PROFILE_DATA
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
{ \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%edx\n", \
- LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
+ fprintf (FILE, "\tcall *.mcount@GOT(%%ebx)\n"); \
} \
else \
{ \
- fprintf (FILE, "\tmovl $%sP%d,%%edx\n", LPREFIX, (LABELNO)); \
- fprintf (FILE, "\tcall mcount\n"); \
+ fprintf (FILE, "\tcall .mcount\n"); \
} \
}
@@ -145,26 +132,16 @@
#define WCHAR_TYPE_SIZE BITS_PER_WORD
#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-Di386 -Dunix -D__ELF__ -D__FreeBSD__ -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386)"
+#define CPP_PREDEFINES "-Di386 -D__ELF__ -Acpu(i386) -Amachine(i386)" CPP_FBSD_PREDEFINES
#undef CPP_SPEC
-#define CPP_SPEC "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE}"
+#define CPP_SPEC \
+ "%(cpp_cpu) %{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} %{posix:-D_POSIX_SOURCE} %{m486:-D__i486__}"
+ /* %{pthread:-D_REENTRANT} */
#undef LIB_SPEC
-#if 1
-/* We no longer link with libc_p.a or libg.a by default. If you
- * want to profile or debug the C library, please add
- * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
- */
-#define LIB_SPEC \
- "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
- %{!ggdb:-lc} %{ggdb:-lg}}"
-#else
#define LIB_SPEC \
- "%{!shared: \
- %{mieee-fp:-lieee} %{p:-lgmon -lc_p} %{pg:-lgmon -lc_p} \
- %{!p:%{!pg:%{!g*:-lc} %{g*:-lg}}}}"
-#endif
+ "%{!shared:%{!pg:%{!pthread:%{!kthread:-lc}%{kthread:-lpthread -lc}}%{pthread:-lc_r}}%{pg:%{!pthread:%{!kthread:-lc_p}%{kthread:-lpthread_p -lc_p}}%{pthread:-lc_r_p}}}"
/* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
for the special GCC options -static and -shared, which allow us to
@@ -181,7 +158,7 @@
done. */
#undef LINK_SPEC
-#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
+#define LINK_SPEC "%{shared:-shared} \
%{!shared: \
%{!ibcs: \
%{!static: \

View File

@ -1,67 +0,0 @@
--- gcc/config/i386/i386.c.orig Sat Sep 5 22:52:05 1998
+++ gcc/config/i386/i386.c Wed Oct 7 17:06:48 1998
@@ -51,6 +51,11 @@
#define CHECK_STACK_LIMIT -1
#endif
+#define PIC_REG_USED \
+ (flag_pic && (current_function_uses_pic_offset_table \
+ || current_function_uses_const_pool \
+ || profile_flag || profile_block_flag))
+
/* Type of an operand for ix86_{binary,unary}_operator_ok */
enum reg_mem
{
@@ -1938,13 +1943,11 @@
char *name ATTRIBUTE_UNUSED;
{
rtx xops[2];
- int pic_reg_used = flag_pic && (current_function_uses_pic_offset_table
- || current_function_uses_const_pool);
xops[0] = pic_offset_table_rtx;
xops[1] = stack_pointer_rtx;
/* Deep branch prediction favors having a return for every call. */
- if (pic_reg_used && TARGET_DEEP_BRANCH_PREDICTION)
+ if (PIC_REG_USED && TARGET_DEEP_BRANCH_PREDICTION)
{
tree prologue_node;
@@ -2074,8 +2077,7 @@
register int regno;
int limit;
rtx xops[4];
- int pic_reg_used = flag_pic && (current_function_uses_pic_offset_table
- || current_function_uses_const_pool);
+ int pic_reg_used = PIC_REG_USED;
long tsize = get_frame_size ();
rtx insn;
int cfa_offset = INCOMING_FRAME_SP_OFFSET, cfa_store_offset = cfa_offset;
@@ -2245,8 +2247,6 @@
int nregs = 0;
int reglimit = (frame_pointer_needed
? FRAME_POINTER_REGNUM : STACK_POINTER_REGNUM);
- int pic_reg_used = flag_pic && (current_function_uses_pic_offset_table
- || current_function_uses_const_pool);
#ifdef NON_SAVING_SETJMP
if (NON_SAVING_SETJMP && current_function_calls_setjmp)
@@ -2258,7 +2258,7 @@
for (regno = reglimit - 1; regno >= 0; regno--)
if ((regs_ever_live[regno] && ! call_used_regs[regno])
- || (regno == PIC_OFFSET_TABLE_REGNUM && pic_reg_used))
+ || (regno == PIC_OFFSET_TABLE_REGNUM && PIC_REG_USED))
nregs++;
return nregs == 0 || ! frame_pointer_needed;
@@ -2292,8 +2292,7 @@
register int nregs, limit;
int offset;
rtx xops[3];
- int pic_reg_used = flag_pic && (current_function_uses_pic_offset_table
- || current_function_uses_const_pool);
+ int pic_reg_used = PIC_REG_USED;
long tsize = get_frame_size ();
/* Compute the number of registers to pop */

View File

@ -1,45 +0,0 @@
--- gcc/final.c.orig Sat Sep 5 22:52:01 1998
+++ gcc/final.c Wed Oct 7 17:06:58 1998
@@ -1635,6 +1637,9 @@
leaf_renumber_regs (first);
#endif
+ if (profile_block_flag)
+ add_bb (file);
+
/* The Sun386i and perhaps other machines don't work right
if the profiling code comes after the prologue. */
#ifdef PROFILE_BEFORE_PROLOGUE
@@ -1696,7 +1701,9 @@
profile_function (file)
FILE *file;
{
+#ifndef NO_PROFILE_DATA
int align = MIN (BIGGEST_ALIGNMENT, LONG_TYPE_SIZE);
+#endif /* not NO_PROFILE_DATA */
#if defined(ASM_OUTPUT_REG_PUSH)
#if defined(STRUCT_VALUE_INCOMING_REGNUM) || defined(STRUCT_VALUE_REGNUM)
int sval = current_function_returns_struct;
@@ -1706,10 +1713,12 @@
#endif
#endif /* ASM_OUTPUT_REG_PUSH */
+#ifndef NO_PROFILE_DATA
data_section ();
ASM_OUTPUT_ALIGN (file, floor_log2 (align / BITS_PER_UNIT));
ASM_OUTPUT_INTERNAL_LABEL (file, "LP", profile_label_no);
assemble_integer (const0_rtx, LONG_TYPE_SIZE / BITS_PER_UNIT, 1);
+#endif /* not NO_PROFILE_DATA */
function_section (current_function_decl);
@@ -1800,6 +1809,9 @@
code to restore the stack frame and return to the caller. */
FUNCTION_EPILOGUE (file, get_frame_size ());
#endif
+
+ if (profile_block_flag)
+ add_bb (file);
#ifdef SDB_DEBUGGING_INFO
if (write_symbols == SDB_DEBUG)

View File

@ -1,14 +0,0 @@
--- config.guess.orig Mon Mar 1 14:37:59 1999
+++ config.guess Sat Mar 13 19:28:44 1999
@@ -478,9 +478,9 @@
exit 0 ;;
*:FreeBSD:*:*)
if test -x /usr/bin/objformat -a "elf" = "`/usr/bin/objformat`"; then
- echo ${UNAME_MACHINE}-unknown-freebsdelf`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
- else
echo ${UNAME_MACHINE}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+ else
+ echo ${UNAME_MACHINE}-unknown-freebsdaout`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`
fi
exit 0 ;;
*:NetBSD:*:*)

View File

@ -1,49 +0,0 @@
--- gcc/configure.orig Sun Mar 14 02:59:02 1999
+++ gcc/configure Sat Mar 20 00:40:05 1999
@@ -2395,6 +2395,15 @@
thread_file='posix'
fi
;;
+ alpha*-*-freebsd*)
+ tm_file="${tm_file} freebsd.h alpha/alpha.h alpha/elf.h alpha/freebsd.h alpha/freebsd-elf.h"
+ xm_file="${xm_file} xm-freebsd.h"
+ target_cpu_default="MASK_GAS"
+ tmake_file="t-freebsd alpha/t-crtbe"
+ xmake_file=none
+ fixincludes=fixinc.wrap
+ gas=yes gnu_ld=yes
+ ;;
alpha*-*-netbsd*)
tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h"
xm_file="xm-netbsd.h ${xm_file}"
@@ -2851,21 +2860,21 @@
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
# use_collect2=yes
;;
- i[34567]86-*-freebsdelf*)
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
+ i[34567]86-*-freebsdaout*)
+ tm_file=i386/freebsd-aout.h
# On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.wrap
- extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
- tmake_file=i386/t-freebsd
- gas=yes
- gnu_ld=yes
- stabs=yes
+ tmake_file=t-freebsd
;;
i[34567]86-*-freebsd*)
- tm_file=i386/freebsd.h
+ tm_file="i386/i386.h i386/att.h linux.h freebsd.h i386/freebsd.h i386/perform.h"
# On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.wrap
- tmake_file=i386/t-freebsd
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ tmake_file=t-freebsd
+ gas=yes
+ gnu_ld=yes
+ stabs=yes
;;
i[34567]86-*-netbsd*)
tm_file=i386/netbsd.h

View File

@ -1,49 +0,0 @@
--- gcc/configure.in.orig Sun Mar 7 16:22:22 1999
+++ gcc/configure.in Sat Mar 20 00:40:58 1999
@@ -416,6 +416,15 @@
thread_file='posix'
fi
;;
+ alpha*-*-freebsd*)
+ tm_file="${tm_file} freebsd.h alpha/alpha.h alpha/elf.h alpha/freebsd.h alpha/freebsd-elf.h"
+ xm_file="${xm_file} xm-freebsd.h"
+ target_cpu_default="MASK_GAS"
+ tmake_file="t-freebsd alpha/t-crtbe"
+ xmake_file=none
+ fixincludes=fixinc.wrap
+ gas=yes gnu_ld=yes
+ ;;
alpha*-*-netbsd*)
tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsdl-elf.h"
xm_file="xm-netbsd.h ${xm_file}"
@@ -872,21 +881,21 @@
# Next line turned off because both 386BSD and BSD/386 use GNU ld.
# use_collect2=yes
;;
- i[[34567]]86-*-freebsdelf*)
- tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
+ i[[34567]]86-*-freebsdaout*)
+ tm_file=i386/freebsd-aout.h
# On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.wrap
- extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
- tmake_file=i386/t-freebsd
- gas=yes
- gnu_ld=yes
- stabs=yes
+ tmake_file=t-freebsd
;;
i[[34567]]86-*-freebsd*)
- tm_file=i386/freebsd.h
+ tm_file="i386/i386.h i386/att.h linux.h freebsd.h i386/freebsd.h i386/perform.h"
# On FreeBSD, the headers are already ok, except for math.h.
fixincludes=fixinc.wrap
- tmake_file=i386/t-freebsd
+ extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
+ tmake_file=t-freebsd
+ gas=yes
+ gnu_ld=yes
+ stabs=yes
;;
i[[34567]]86-*-netbsd*)
tm_file=i386/netbsd.h

View File

@ -1,12 +0,0 @@
--- libstdc++/stl/stl_rope.h.orig Fri Feb 20 03:13:44 1998
+++ libstdc++/stl/stl_rope.h Sun Feb 28 03:50:24 1999
@@ -702,7 +702,8 @@
__rope_iterator_base<charT,Alloc>(r.tree_ptr, pos) {}
__rope_const_iterator& operator= (const __rope_const_iterator & x) {
if (0 != x.buf_ptr) {
- *this = x;
+ *(static_cast<__rope_iterator_base<charT,Alloc>*>(this)) = x;
+ // bugfix by Kevin Atkinosn (kevina@clark.net) was *this = x;
} else {
current_pos = x.current_pos;
root = x.root;

View File

@ -1,10 +0,0 @@
--- libstdc++/configure.in.orig Thu Feb 18 11:40:03 1999
+++ libstdc++/configure.in Thu Feb 18 11:44:01 1999
@@ -54,6 +54,7 @@
*-*-hpux*) frags="${frags} hpux.ml" ;;
*-*-irix[56]*) frags="${frags} irix5.ml" ;;
*-*-linux*aout*) ;;
+ *-*-freebsd*) frags="${frags} freebsd.ml" ;;
*-*-linux*) frags="${frags} linux.ml" ;;
*-*-sysv4*) frags="${frags} elf.ml" ;;
*-*-solaris*) frags="${frags} sol2shm.ml" ;;

View File

@ -1,9 +0,0 @@
--- libstdc++/config/freebsd.ml.orig Thu Feb 18 11:44:11 1999
+++ libstdc++/config/freebsd.ml Thu Feb 18 11:44:17 1999
@@ -0,0 +1,6 @@
+# Elf with shared libm, so we can link it into the shared libstdc++.
+
+LIBS = $(ARLIB) $(SHLIB) $(SHLINK) mshlink
+SHFLAGS = -Wl,-soname,$(MSHLINK)
+SHDEPS = -lm
+DEPLIBS = ../$(SHLIB)

View File

@ -1,33 +0,0 @@
--- libstdc++/Makefile.in.orig Sat Jul 11 19:20:49 1998
+++ libstdc++/Makefile.in Sun Mar 14 21:48:39 1999
@@ -14,7 +14,7 @@
# along with this library; see the file COPYING. If not, write to the Free
# Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-VERSION = 2.9.0
+VERSION = 290
OBJS = cstringi.o stdexcepti.o cstdlibi.o cmathi.o stlinst.o
SUBLIBS = $(STAMP)-string $(STAMP)-complx
@@ -98,7 +98,8 @@
ln -f -s $(SHLIB) $(SHLINK)
mshlink:
- @$(MAKE) $(MSHLINK) "SHLINK=$(MSHLINK)"
+ #@$(MAKE) $(MSHLINK) "SHLINK=$(MSHLINK)"
+ @true
$(IO_DIR)/iostream.list: force
cd $(IO_DIR) ; $(MAKE) $(FLAGS_TO_PASS) iostream.list
@@ -281,10 +282,7 @@
if [ $$FILE = $(SHLINK) ] ; then \
ln -f -s $(SHLIB) $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
elif [ $$FILE = mshlink ]; then \
- for FILE in $(MSHLINK) ; do \
- rm -f $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
- ln -f -s $(SHLIB) $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
- done; \
+ true; \
elif [ $$FILE = $(SHLIB) ]; then \
$(INSTALL_PROGRAM) $$FILE $${INSTALLDIR}$(MULTISUBDIR)/$$FILE ; \
: On the HP, shared libraries must be mode 555. ;\

View File

@ -1,30 +0,0 @@
--- gcc/cccp.c.orig 1999/08/26 09:26:39 1.1.1.2
+++ gcc/cccp.c 1999/08/27 11:02:42 1.3
@@ -5096,6 +5096,7 @@
register struct file_name_map *map;
register char *from;
+#ifndef FREEBSD_NATIVE
if (searchptr)
{
if (! searchptr->got_name_map)
@@ -5110,6 +5111,7 @@
if (! strcmp (map->map_from, from))
return map->map_to;
}
+#endif
from = base_name (filename);
@@ -5124,9 +5126,11 @@
bcopy (filename, dir, from - filename);
dir[from - filename] = '\0';
+#ifndef FREEBSD_NATIVE
for (map = read_name_map (dir); map; map = map->map_next)
if (! strcmp (map->map_from, from))
return map->map_to;
+#endif
}
return filename;

View File

@ -1,45 +0,0 @@
--- gcc/choose-temp.c.orig 1999/08/26 09:26:40 1.1.1.1
+++ gcc/choose-temp.c 1999/10/02 21:50:07 1.2
@@ -22,6 +22,8 @@
/* This file lives in at least two places: libiberty and gcc.
Don't change one without the other. */
+/* $from_FreeBSD: src/contrib/gcc/choose-temp.c,v 1.2 1999/10/02 21:50:07 obrien Exp $ */
+
#if defined (IN_GCC) || defined (HAVE_CONFIG_H)
#include "config.h"
#endif
@@ -120,13 +122,14 @@
base = try (getenv ("TMP"), base);
base = try (getenv ("TEMP"), base);
+ base = try (tmp, base);
+
#ifdef P_tmpdir
base = try (P_tmpdir, base);
#endif
- /* Try /usr/tmp, then /tmp. */
+ /* Try /usr/tmp even though it usually doesn't exist on FreeBSD. */
base = try (usrtmp, base);
- base = try (tmp, base);
/* If all else fails, use the current directory! */
if (base == 0)
@@ -166,13 +169,14 @@
base = try (getenv ("TMP"), base);
base = try (getenv ("TEMP"), base);
+ base = try (tmp, base);
+
#ifdef P_tmpdir
base = try (P_tmpdir, base);
#endif
- /* Try /usr/tmp, then /tmp. */
+ /* Try /usr/tmp even though it usually doesn't exist on FreeBSD. */
base = try (usrtmp, base);
- base = try (tmp, base);
/* If all else fails, use the current directory! */
if (base == 0)

View File

@ -1,45 +0,0 @@
--- gcc/cp/decl.c.orig 1999/08/26 09:28:46 1.1.1.2
+++ gcc/cp/decl.c 1999/09/19 10:57:59 1.3
@@ -19,7 +19,9 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+/* $from_FreeBSD: src/contrib/gcc/cp/decl.c,v 1.3 1999/09/19 10:57:59 obrien Exp $ */
+
/* Process declarations and symbol lookup for C front end.
Also constructs types; the standard scalar types at initialization,
and structure, union, array and enum types when they are declared. */
@@ -1493,7 +1495,7 @@
tree t;
int i = 0, len;
fprintf (stderr, " blocks=");
- fprintf (stderr, HOST_PTR_PRINTF, lvl->blocks);
+ fprintf (stderr, HOST_PTR_PRINTF, (void *) lvl->blocks);
fprintf (stderr, " n_incomplete=%d parm_flag=%d keep=%d",
list_length (lvl->incomplete), lvl->parm_flag, lvl->keep);
if (lvl->tag_transparent)
@@ -1606,7 +1608,7 @@
for (level = stack; level != global_binding_level; level = level->level_chain)
{
fprintf (stderr, "binding level ");
- fprintf (stderr, HOST_PTR_PRINTF, level);
+ fprintf (stderr, HOST_PTR_PRINTF, (void *) level);
fprintf (stderr, "\n");
print_binding_level (level);
}
@@ -1617,11 +1619,11 @@
{
struct binding_level *b;
fprintf (stderr, "current_binding_level=");
- fprintf (stderr, HOST_PTR_PRINTF, current_binding_level);
+ fprintf (stderr, HOST_PTR_PRINTF, (void *) current_binding_level);
fprintf (stderr, "\nclass_binding_level=");
- fprintf (stderr, HOST_PTR_PRINTF, class_binding_level);
+ fprintf (stderr, HOST_PTR_PRINTF, (void *) class_binding_level);
fprintf (stderr, "\nglobal_binding_level=");
- fprintf (stderr, HOST_PTR_PRINTF, global_binding_level);
+ fprintf (stderr, HOST_PTR_PRINTF, (void *) global_binding_level);
fprintf (stderr, "\n");
if (class_binding_level)
{

View File

@ -1,33 +0,0 @@
--- gcc/cp/ptree.c.orig 1999/08/26 09:29:01 1.1.1.2
+++ gcc/cp/ptree.c 1999/09/19 11:00:01 1.3
@@ -19,7 +19,9 @@
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+/* $from_FreeBSD: src/contrib/gcc/cp/ptree.c,v 1.3 1999/09/19 11:00:01 obrien Exp $ */
+
#include "config.h"
#include "system.h"
#include "tree.h"
@@ -46,17 +48,17 @@
if (DECL_MAIN_VARIANT (node))
{
fprintf (file, " decl-main-variant ");
- fprintf (file, HOST_PTR_PRINTF, DECL_MAIN_VARIANT (node));
+ fprintf (file, HOST_PTR_PRINTF, (void *) DECL_MAIN_VARIANT (node));
}
if (DECL_PENDING_INLINE_INFO (node))
{
fprintf (file, " pending-inline-info ");
- fprintf (file, HOST_PTR_PRINTF, DECL_PENDING_INLINE_INFO (node));
+ fprintf (file, HOST_PTR_PRINTF, (void *) DECL_PENDING_INLINE_INFO (node));
}
if (DECL_TEMPLATE_INFO (node))
{
fprintf (file, " template-info ");
- fprintf (file, HOST_PTR_PRINTF, DECL_TEMPLATE_INFO (node));
+ fprintf (file, HOST_PTR_PRINTF, (void *) DECL_TEMPLATE_INFO (node));
}
}

View File

@ -1,27 +0,0 @@
--- gcc/dbxout.c.orig 1999/08/26 09:26:57 1.1.1.2
+++ gcc/dbxout.c 1999/08/28 07:19:03 1.3
@@ -2685,7 +2685,12 @@
{
#ifdef DBX_FUNCTION_FIRST
dbxout_really_begin_function (decl);
+#else
+#ifdef DBX_CHECK_FUNCTION_FIRST
+ if (DBX_CHECK_FUNCTION_FIRST)
+ dbxout_really_begin_function (decl);
#endif
+#endif
}
/* Output dbx data for a function definition.
@@ -2700,6 +2705,11 @@
{
#ifndef DBX_FUNCTION_FIRST
dbxout_really_begin_function (decl);
+#else
+#ifdef DBX_CHECK_FUNCTION_FIRST
+ if (!(DBX_CHECK_FUNCTION_FIRST))
+ dbxout_really_begin_function (decl);
+#endif
#endif
dbxout_block (DECL_INITIAL (decl), 0, DECL_ARGUMENTS (decl));
#ifdef DBX_OUTPUT_FUNCTION_END

View File

@ -1,233 +0,0 @@
--- gcc/c-common.c.orig Mon Feb 15 16:40:05 1999
+++ gcc/c-common.c Sat Dec 2 06:04:12 2000
@@ -61,7 +61,7 @@
int, int, int));
static void init_attributes PROTO((void));
static void record_function_format PROTO((tree, tree, enum format_type,
- int, int));
+ int, int, int));
static void record_international_format PROTO((tree, tree, int));
/* Keep a stack of if statements. We record the number of compound
@@ -672,6 +672,7 @@
enum format_type format_type;
tree argument;
int arg_num;
+ int null_format_ok;
if (TREE_CODE (decl) != FUNCTION_DECL)
{
@@ -682,7 +683,7 @@
if (TREE_CODE (format_type_id) != IDENTIFIER_NODE)
{
- error ("unrecognized format specifier");
+ error_with_decl (decl, "unrecognized format specifier");
continue;
}
else
@@ -690,12 +691,26 @@
char *p = IDENTIFIER_POINTER (format_type_id);
if (!strcmp (p, "printf") || !strcmp (p, "__printf__"))
+ {
+ format_type = printf_format_type;
+ null_format_ok = 0;
+ }
+ else if (!strcmp (p, "printf0") || !strcmp (p, "__printf0__"))
+ {
format_type = printf_format_type;
+ null_format_ok = 1;
+ }
else if (!strcmp (p, "scanf") || !strcmp (p, "__scanf__"))
+ {
format_type = scanf_format_type;
+ null_format_ok = 0;
+ }
else if (!strcmp (p, "strftime")
|| !strcmp (p, "__strftime__"))
+ {
format_type = strftime_format_type;
+ null_format_ok = 0;
+ }
else
{
error ("`%s' is an unrecognized format function type", p);
@@ -766,7 +781,8 @@
record_function_format (DECL_NAME (decl),
DECL_ASSEMBLER_NAME (decl),
- format_type, format_num, first_arg_num);
+ format_type, null_format_ok, format_num,
+ first_arg_num);
break;
}
@@ -1010,6 +1026,11 @@
} format_char_info;
static format_char_info print_char_table[] = {
+/* FreeBSD kernel extensions. */
+ { "D", 1, T_C, T_C, NULL, NULL, NULL, NULL, NULL, "-wp" },
+ { "b", 1, T_C, T_C, NULL, NULL, NULL, NULL, NULL, "-wp" },
+ { "rz", 0, NULL, T_I, T_I, T_L, NULL, NULL, NULL, "-wp0 +#" },
+#define unextended_print_char_table (print_char_table + 3)
{ "di", 0, T_I, T_I, T_I, T_L, T_LL, T_LL, T_ST, "-wp0 +" },
{ "oxX", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0#" },
{ "u", 0, T_UI, T_UI, T_UI, T_UL, T_ULL, T_ULL, T_ST, "-wp0" },
@@ -1072,6 +1093,7 @@
enum format_type format_type; /* type of format (printf, scanf, etc.) */
int format_num; /* number of format argument */
int first_arg_num; /* number of first arg (zero for varargs) */
+ int null_format_ok; /* TRUE if the format string may be NULL */
} function_format_info;
static function_format_info *function_format_list = NULL;
@@ -1102,25 +1124,25 @@
init_function_format_info ()
{
record_function_format (get_identifier ("printf"), NULL_TREE,
- printf_format_type, 1, 2);
+ printf_format_type, 1, 2, 0);
record_function_format (get_identifier ("fprintf"), NULL_TREE,
- printf_format_type, 2, 3);
+ printf_format_type, 2, 3, 0);
record_function_format (get_identifier ("sprintf"), NULL_TREE,
- printf_format_type, 2, 3);
+ printf_format_type, 2, 3, 0);
record_function_format (get_identifier ("scanf"), NULL_TREE,
- scanf_format_type, 1, 2);
+ scanf_format_type, 1, 2, 0);
record_function_format (get_identifier ("fscanf"), NULL_TREE,
- scanf_format_type, 2, 3);
+ scanf_format_type, 2, 3, 0);
record_function_format (get_identifier ("sscanf"), NULL_TREE,
- scanf_format_type, 2, 3);
+ scanf_format_type, 2, 3, 0);
record_function_format (get_identifier ("vprintf"), NULL_TREE,
- printf_format_type, 1, 0);
+ printf_format_type, 1, 0, 0);
record_function_format (get_identifier ("vfprintf"), NULL_TREE,
- printf_format_type, 2, 0);
+ printf_format_type, 2, 0, 0);
record_function_format (get_identifier ("vsprintf"), NULL_TREE,
- printf_format_type, 2, 0);
+ printf_format_type, 2, 0, 0);
record_function_format (get_identifier ("strftime"), NULL_TREE,
- strftime_format_type, 3, 0);
+ strftime_format_type, 3, 0, 0);
record_international_format (get_identifier ("gettext"), NULL_TREE, 1);
record_international_format (get_identifier ("dgettext"), NULL_TREE, 2);
@@ -1138,12 +1160,13 @@
static void
record_function_format (name, assembler_name, format_type,
- format_num, first_arg_num)
+ format_num, first_arg_num, null_format_ok)
tree name;
tree assembler_name;
enum format_type format_type;
int format_num;
int first_arg_num;
+ int null_format_ok;
{
function_format_info *info;
@@ -1167,6 +1190,7 @@
info->format_type = format_type;
info->format_num = format_num;
info->first_arg_num = first_arg_num;
+ info->null_format_ok = null_format_ok;
}
/* Record information for the names of function that modify the format
@@ -1314,7 +1338,8 @@
if (integer_zerop (format_tree))
{
- warning ("null format string");
+ if (!info->null_format_ok)
+ warning ("null format string");
return;
}
if (TREE_CODE (format_tree) != ADDR_EXPR)
@@ -1485,12 +1510,13 @@
It will work on most machines, because size_t and int
have the same mode. But might as well warn anyway,
since it will fail on other machines. */
+ /* XXX should we allow unsigned ints here? */
if ((TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
!= integer_type_node)
&&
(TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
!= unsigned_type_node))
- warning ("field width is not type int (arg %d)", arg_num);
+ warning ("precision is not type int (arg %d)", arg_num);
}
}
else
@@ -1535,6 +1561,53 @@
}
}
}
+ if (*format_chars == 'b')
+ {
+ /* There should be an int arg to control the string arg. */
+ if (params == 0)
+ {
+ warning (tfaff);
+ return;
+ }
+ if (info->first_arg_num != 0)
+ {
+ cur_param = TREE_VALUE (params);
+ params = TREE_CHAIN (params);
+ ++arg_num;
+ if ((TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
+ != integer_type_node)
+ &&
+ (TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
+ != unsigned_type_node))
+ {
+ warning ("bitmap is not type int (arg %d)", arg_num);
+ }
+ }
+ }
+ if (*format_chars == 'D')
+ {
+ /* There should be an unsigned char * arg before the string arg. */
+ if (params == 0)
+ {
+ warning (tfaff);
+ return;
+ }
+ if (info->first_arg_num != 0)
+ {
+ cur_param = TREE_VALUE (params);
+ params = TREE_CHAIN (params);
+ ++arg_num;
+ cur_type = TREE_TYPE (cur_param);
+ if (TREE_CODE (cur_type) != POINTER_TYPE
+ || TYPE_MAIN_VARIANT (TREE_TYPE (cur_type))
+ != unsigned_char_type_node)
+ {
+ warning ("ethernet address is not type unsigned char *"
+ " (arg %d)",
+ arg_num);
+ }
+ }
+ }
aflag = 0;
@@ -1604,7 +1677,8 @@
switch (info->format_type)
{
case printf_format_type:
- fci = print_char_table;
+ fci = flag_format_extensions ? print_char_table
+ : unextended_print_char_table;
break;
case scanf_format_type:
fci = scan_char_table;

View File

@ -1,12 +0,0 @@
--- gcc/flags.h.orig Sat Feb 27 10:33:03 1999
+++ gcc/flags.h Tue Mar 30 03:36:49 1999
@@ -449,6 +449,9 @@
/* Do the full regmove optimization pass. */
extern int flag_regmove;
+
+/* Nonzero means that -Wformat accepts certain non-ANSI formats. */
+extern int flag_format_extensions;
/* Other basic status info about current function. */

View File

@ -1,22 +0,0 @@
--- gcc/toplev.c.orig Sat Feb 27 10:33:02 1999
+++ gcc/toplev.c Tue Mar 30 03:37:57 1999
@@ -728,6 +728,10 @@
extern int flag_dump_unnumbered;
+/* Nonzero means that -Wformat accepts certain system-dependent formats. */
+
+int flag_format_extensions = 0;
+
/* Table of supported debugging formats. */
static struct
@@ -915,6 +919,8 @@
"Generate code to check every memory access" },
{"prefix-function-name", &flag_prefix_function_name, 1,
"Add a prefix to all function names" },
+ {"format-extensions", &flag_format_extensions, 1,
+ "-Wformat accepts certain FreeBSD system-dependent formats" },
{"dump-unnumbered", &flag_dump_unnumbered, 1}
};

View File

@ -1,207 +0,0 @@
--- gcc/gcc.1.orig 1999/08/26 09:27:23 1.1.1.2
+++ gcc/gcc.1 1999/09/19 09:00:24 1.14
@@ -1,3 +1,4 @@
+.\" $from_FreeBSD: src/contrib/gcc/gcc.1,v 1.14 1999/09/19 09:00:24 obrien Exp $
.\" Copyright (c) 1991, 1992, 1993, 1994 Free Software Foundation -*-Text-*-
.\" See section COPYING for conditions for redistribution
.\"
@@ -264,6 +265,8 @@
\-O
\-O2
\-O3
+\-O0
+\-Os
.TP
.B Preprocessor Options
.RI \-A assertion
@@ -444,10 +447,25 @@
.Sp
.I i386 Options
.br
+\-m386
\-m486
+\-mpentium
+\-mpentiumpro
\-mno\-486
+\-mcpu=\fIcpu type\fP
+\-march=\fIcpu type\fP
\-msoft\-float
+\-mrtd
+\-mregparm
+\-msvr3\-shlib
+\-mno\-ieee\-fp
\-mno\-fp\-ret\-in\-387
+\-mfancy\-math\-387
+\-mno\-wide\-multiply
+\-mdebug\-addr
+\-mno\-move
+\-mprofiler\-epilogue
+\-reg\-alloc=LIST
.Sp
.I HPPA Options
.br
@@ -520,6 +538,16 @@
\-fverbose\-asm
.ad b
.hy 1
+.SH FreeBSD SPECIFIC OPTIONS
+.TP
+.BI "\-pthread"
+Link a user-threaded process against libc_r instead of libc. Objects linked
+into user-threaded processes should be compiled with -D_THREAD_SAFE.
+.TP
+.BI "\-kthread"
+Link a kernel-threaded process against libpthread in addition to libc.
+Objects linked into kernel-threaded processes should be compiled with
+-D_THREAD_SAFE.
.SH OVERALL OPTIONS
.TP
.BI "\-x " "language"
@@ -1202,13 +1230,17 @@
.B \-M\c
\&\|' but the output mentions only the user header files
included with `\|\c
-.B #include "\c
+.B
+#include "\c
.I file\c
+.B
\&"\c
\&\|'. System header files
included with `\|\c
-.B #include <\c
+.B
+#include <\c
.I file\c
+.B
\&>\c
\&\|' are omitted.
.TP
@@ -1485,8 +1517,10 @@
\&"\c
\&\|';
they are not searched for `\|\c
-.B #include <\c
+.B
+#include <\c
.I file\c
+.B
\&>\c
\&\|'.
.Sp
@@ -2000,7 +2034,7 @@
.B \-Wnested-externs
Warn if an \c
.B extern\c
-\& declaration is encountered within an function.
+\& declaration is encountered within a function.
.TP
.B \-Wenum\-clash
Warn about conversion between different enumeration types (C++ only).
@@ -2432,6 +2466,12 @@
does, along with also turning on
.B \-finline\-functions.
.TP
+.B \-Os
+Optimize for size. This enables all
+.B \-O2
+optimizations that do not typically increase code size. It also performs
+further optimizations designed to reduce code size.
+.TP
.B \-O0
Do not optimize.
.Sp
@@ -2981,17 +3021,17 @@
.B \-mcypress
.TP
.B \-msupersparc
-These two options select the processor for which the code is optimised.
+These two options select the processor for which the code is optimized.
.Sp
With
.B \-mcypress
-(the default), the compiler optimises code for the Cypress CY7C602 chip, as
+(the default), the compiler optimizes code for the Cypress CY7C602 chip, as
used in the SparcStation/SparcServer 3xx series. This is also appropriate for
the older SparcStation 1, 2, IPX etc.
.Sp
With
.B \-msupersparc
-the compiler optimises code for the SuperSparc cpu, as used in the SparcStation
+the compiler optimizes code for the SuperSparc cpu, as used in the SparcStation
10, 1000 and 2000 series. This flag also enables use of the full SPARC v8
instruction set.
.PP
@@ -3570,12 +3610,51 @@
These `\|\c
.B \-m\c
\&\|' options are defined for the Intel 80386 family of computers:
+.TP
.B \-m486
.TP
.B \-mno\-486
Control whether or not code is optimized for a 486 instead of an
386. Code generated for a 486 will run on a 386 and vice versa.
.TP
+.B \-mpentium
+Synonym for
+.B \-mcpu=pentium
+.TP
+.B \-mpentiumpro
+Synonym for
+.B \-mcpu=pentiumpro
+.TP
+.B \-mcpu=\fIcpu type\fP
+Assume the defaults for the machine type CPU TYPE when scheduling instructions.
+The choices for CPU TYPE are:
+.B i386,
+.B i486,
+.B i586
+(pentium),
+.B pentium,
+.B i686
+(pentiumpro), and
+.B pentiumpro.
+While picking a specific CPU TYPE will schedule things appropriately for that
+particular chip, the compiler will not generate any code that does not run on
+the i386 without the
+.B \-march=\fIcpu type\fP
+option being used.
+.TP
+.B \-march=\fIcpu type\fP
+Generate instructions for the machine type CPU TYPE. The choices for CPU TYPE
+are:
+.B i386,
+.B i486,
+.B pentium,
+and
+.B pentiumpro.
+Specifying
+.B \-march=\fIcpu type\fP
+implies
+.B \-mcpu=\fIcpu type\fP.
+.TP
.B \-msoft\-float
Generate output containing library calls for floating point.
.I Warning:
@@ -3606,6 +3685,11 @@
.B \-mno-fp-ret-in-387\c
\&\|' causes such values to be returned
in ordinary CPU registers instead.
+.TP
+.B \-mprofiler-epilogue
+.TP
+.B \-mno-profiler-epilogue
+Generate extra code to write profile information for function exits.
.PP
These `\|\c
.B \-m\c
@@ -4141,7 +4225,7 @@
.B /tmp\c
\&).
.SH "SEE ALSO"
-cpp(1), as(1), ld(1), gdb(1), adb(1), dbx(1), sdb(1).
+as(1), cpp(1), gdb(1), ld(1)
.br
.RB "`\|" gcc "\|', `\|" cpp \|',
.RB "`\|" as "\|', `\|" ld \|',

View File

@ -1,234 +0,0 @@
--- gcc/gcc.c.orig 1999/08/26 09:27:23 1.1.1.3
+++ gcc/gcc.c 1999/09/13 15:50:16 1.10
@@ -21,6 +21,8 @@
This paragraph is here to try to keep Sun CC from dying.
The number of chars here seems crucial!!!! */
+/* $from_FreeBSD: src/contrib/gcc/gcc.c,v 1.10 1999/09/13 15:50:16 bde Exp $ */
+
/* This program is the user interface to the C compiler and possibly to
other compilers. It is used because compilation is a complicated procedure
which involves running several programs and passing temporary files between
@@ -2401,6 +2403,9 @@
/* Gives value to pass as "warn" to add_prefix for standard prefixes. */
static int *warn_std_ptr = 0;
+#if defined(FREEBSD_NATIVE) && defined(__i386__)
+static int objformat_aout = 0; /* ELF by default */
+#endif
#if defined(HAVE_OBJECT_SUFFIX) || defined(HAVE_EXECUTABLE_SUFFIX)
@@ -2712,6 +2717,39 @@
}
}
+#if defined(FREEBSD_NATIVE) && defined(__i386__)
+ {
+ /* first hint is /etc/objformat */
+ FILE *fp = fopen("/etc/objformat", "r");
+ if (fp) {
+ char buf[1024];
+ buf[1023] = '\0';
+ while (fgets(buf, sizeof(buf) - 1, fp) != NULL) {
+ i = strlen(buf);
+ if (buf[i - 1] == '\n')
+ buf[i - 1] = '\0';
+ if (strcmp(buf, "OBJFORMAT=aout") == 0)
+ objformat_aout = 1;
+ else if (strcmp(buf, "OBJFORMAT=elf") == 0)
+ objformat_aout = 0;
+ else
+ fprintf(stderr, "Unrecognized line in /etc/objformat: %s\n", buf);
+ }
+ fclose(fp);
+ }
+ /* but the user $OBJFORMAT overrides system default */
+ temp = getenv("OBJFORMAT");
+ if (temp) {
+ if (strcmp(temp, "aout") == 0)
+ objformat_aout = 1;
+ else if (strcmp(temp, "elf") == 0)
+ objformat_aout = 0;
+ else
+ fprintf(stderr, "Unrecognized value of $OBJFORMAT: %s\n", temp);
+ }
+ }
+#endif
+
/* Convert new-style -- options to old-style. */
translate_options (&argc, &argv);
@@ -2726,6 +2764,19 @@
for (i = 1; i < argc; i++)
{
+#if defined(FREEBSD_NATIVE) && defined(__i386__)
+ /* .. and command line args override all */
+ if (strcmp (argv[i], "-aout") == 0)
+ {
+ objformat_aout = 1;
+ continue;
+ }
+ else if (strcmp (argv[i], "-elf") == 0)
+ {
+ objformat_aout = 0;
+ continue;
+ }
+#endif
if (! strcmp (argv[i], "-dumpspecs"))
{
struct spec_list *sl;
@@ -3049,6 +3100,23 @@
(such as cpp) rather than those of the host system. */
/* Use 2 as fourth arg meaning try just the machine as a suffix,
as well as trying the machine and the version. */
+#ifdef FREEBSD_NATIVE
+#if defined(__i386__)
+ if (objformat_aout) {
+ n_switches++; /* add implied -maout */
+ add_prefix (&exec_prefixes, "/usr/libexec/aout/", "BINUTILS",
+ 0, 0, NULL_PTR);
+ } else
+ add_prefix (&exec_prefixes, "/usr/libexec/elf/", "BINUTILS",
+ 0, 0, NULL_PTR);
+#endif
+ add_prefix (&exec_prefixes, "/usr/libexec", "GCC",
+ 0, 0, warn_std_ptr);
+ add_prefix (&exec_prefixes, "/usr/bin", "GCC",
+ 0, 0, warn_std_ptr);
+ add_prefix (&startfile_prefixes, "/usr/libdata/gcc/", "BINUTILS",
+ 0, 0, warn_std_ptr);
+#else /* not FREEBSD_NATIVE */
#ifndef OS2
add_prefix (&exec_prefixes, standard_exec_prefix, "BINUTILS",
0, 2, warn_std_ptr);
@@ -3060,6 +3128,7 @@
0, 1, warn_std_ptr);
add_prefix (&startfile_prefixes, standard_exec_prefix_1, "BINUTILS",
0, 1, warn_std_ptr);
+#endif /* FREEBSD_NATIVE */
tooldir_prefix = concat (tooldir_base_prefix, spec_machine,
dir_separator_str, NULL_PTR);
@@ -3094,12 +3163,14 @@
dir_separator_str, tooldir_prefix, NULL_PTR);
}
+#ifndef FREEBSD_NATIVE
add_prefix (&exec_prefixes,
concat (tooldir_prefix, "bin", dir_separator_str, NULL_PTR),
"BINUTILS", 0, 0, NULL_PTR);
add_prefix (&startfile_prefixes,
concat (tooldir_prefix, "lib", dir_separator_str, NULL_PTR),
"BINUTILS", 0, 0, NULL_PTR);
+#endif /* FREEBSD_NATIVE */
/* More prefixes are enabled in main, after we read the specs file
and determine whether this is cross-compilation or not. */
@@ -3118,6 +3189,19 @@
to the copy in the vector of switches.
Store all the infiles in their vector. */
+#if defined(FREEBSD_NATIVE) && defined(__i386__)
+ if (objformat_aout == 1) {
+ switches[n_switches].part1 = "maout";
+ switches[n_switches].args = 0;
+ switches[n_switches].live_cond = 0;
+ switches[n_switches].valid = 0;
+ n_switches++;
+ putenv("OBJFORMAT=aout");
+ } else {
+ putenv("OBJFORMAT=elf");
+ }
+#endif
+
for (i = 1; i < argc; i++)
{
/* Just skip the switches that were handled by the preceding loop. */
@@ -3137,6 +3221,12 @@
;
else if (! strcmp (argv[i], "-print-multi-directory"))
;
+#if defined(FREEBSD_NATIVE) && defined(__i386__)
+ else if (! strcmp (argv[i], "-aout"))
+ ;
+ else if (! strcmp (argv[i], "-elf"))
+ ;
+#endif
else if (strcmp (argv[i], "-fhelp") == 0)
{
if (verbose_flag)
@@ -4592,6 +4682,7 @@
*cp++ = '.';
*cp = '\0';
+#ifndef FREEBSD_NATIVE
/* Exclude directories that the linker is known to search. */
if (linker
&& ((cp - path == 6
@@ -4602,6 +4693,7 @@
dir_separator_str, "lib",
dir_separator_str, ".", NULL_PTR)) == 0)))
return 0;
+#endif /* FREEBSD_NATIVE */
return (stat (path, &st) >= 0 && S_ISDIR (st.st_mode));
}
@@ -4775,9 +4867,13 @@
/* Read specs from a file if there is one. */
+#ifndef FREEBSD_NATIVE
machine_suffix = concat (spec_machine, dir_separator_str,
spec_version, dir_separator_str, NULL_PTR);
just_machine_suffix = concat (spec_machine, dir_separator_str, NULL_PTR);
+#else /* FREEBSD_NATIVE */
+ just_machine_suffix = "";
+#endif /* FREEBSD_NATIVE */
specs_file = find_a_file (&startfile_prefixes, "specs", R_OK);
/* Read the specs file unless it is a default one. */
@@ -4857,6 +4953,7 @@
NULL_PTR, 0, 0, NULL_PTR);
}
+#ifndef FREEBSD_NATIVE
add_prefix (&startfile_prefixes, standard_startfile_prefix_1,
"BINUTILS", 0, 0, NULL_PTR);
add_prefix (&startfile_prefixes, standard_startfile_prefix_2,
@@ -4864,6 +4961,7 @@
#if 0 /* Can cause surprises, and one can use -B./ instead. */
add_prefix (&startfile_prefixes, "./", NULL_PTR, 0, 1, NULL_PTR);
#endif
+#endif /* FREEBSD_NATIVE */
}
else
{
@@ -4947,7 +5045,7 @@
if (! verbose_flag)
{
- printf ("\nReport bugs to egcs-bugs@egcs.cygnus.com.\n");
+ printf ("\nReport bugs to egcs-bugs@cygnus.com.\n");
printf ("Please see the file BUGS (included with the sources) first.\n");
exit (0);
@@ -4981,7 +5079,7 @@
}
if (n_infiles == added_libraries)
- fatal ("No input files");
+ fatal ("No input files specified");
/* Make a place to record the compiler output file names
that correspond to the input files. */
@@ -5137,7 +5235,7 @@
if (print_help_list)
{
- printf ("\nReport bugs to egcs-bugs@egcs.cygnus.com.\n");
+ printf ("\nReport bugs to egcs-bugs@cygnus.com.\n");
printf ("Please see the file BUGS (included with the sources) first.\n");
}

View File

@ -1,8 +0,0 @@
--- libiberty/Makefile.in.orig Sat May 23 15:32:53 1998
+++ libiberty/Makefile.in Sun Nov 24 14:17:03 2002
@@ -120 +120 @@
- strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \
+ strrchr.c strstr.c strtod.c strtol.c strtoul.c \
@@ -128 +128 @@
- strsignal.o xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o
+ xatexit.o xexit.o xmalloc.o xstrdup.o xstrerror.o

View File

@ -1,11 +0,0 @@
--- gcc/pexecute.c.orig 1999/08/26 09:28:02 1.1.1.1
+++ gcc/pexecute.c 1999/08/29 23:46:20 1.2
@@ -739,7 +739,7 @@
#else
fprintf (stderr, ": %s\n", xstrerror (errno));
#endif
- exit (-1);
+ _exit (1);
/* NOTREACHED */
return 0;

View File

@ -1,7 +0,0 @@
--- libiberty/strerror.c.orig Fri May 15 16:42:41 1998
+++ libiberty/strerror.c Sun Nov 24 14:25:18 2002
@@ -465,2 +465,2 @@
-extern int sys_nerr;
-extern char *sys_errlist[];
+/* extern int sys_nerr; declared just fine by stdio.h, thank you very much */
+/* extern char *sys_errlist[]; declared just fine by stdio.h, thank you very much */

View File

@ -1,30 +0,0 @@
--- gcc/Makefile.in.orig Sun Mar 7 16:22:20 1999
+++ gcc/Makefile.in Sun Nov 24 23:51:04 2002
@@ -768,7 +768,7 @@
rm -f config.run
$(srcdir)/configure: $(srcdir)/configure.in
- cd $(srcdir); autoconf
+ cd $(srcdir); echo "wants to run autoconf"
# cstamp-h.in controls rebuilding of config.in.
# It is named cstamp-h.in and not stamp-h.in so the mostlyclean rule doesn't
@@ -781,7 +781,7 @@
# ??? Newer versions have a maintainer mode that may be useful here.
$(srcdir)/config.in: $(srcdir)/cstamp-h.in
$(srcdir)/cstamp-h.in: $(srcdir)/configure.in $(srcdir)/acconfig.h
- cd $(srcdir) && autoheader
+ cd $(srcdir) && echo "want to run autoheader"
@rm -f $(srcdir)/cstamp-h.in
echo timestamp > $(srcdir)/cstamp-h.in
auto-host.h: cstamp-h ; @true
@@ -1914,7 +1914,8 @@
SYSCALLS.c.X: $(srcdir)/sys-types.h $(srcdir)/sys-protos.h $(GCC_PASSES) \
stmp-int-hdrs
-rm -f SYSCALLS.c tmp-SYSCALLS.s
- cat $(srcdir)/sys-types.h $(srcdir)/sys-protos.h > SYSCALLS.c
+ echo "#define __NO_GNUC_VA_LIST 1" > SYSCALLS.c
+ cat $(srcdir)/sys-types.h $(srcdir)/sys-protos.h >> SYSCALLS.c
$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
-aux-info $@ -S -o tmp-SYSCALLS.s SYSCALLS.c
-rm -f SYSCALLS.c tmp-SYSCALLS.s

View File

@ -1,19 +0,0 @@
--- gcc/config/xm-freebsd.h.orig 1999/08/26 09:29:27 1.1.1.2
+++ gcc/config/xm-freebsd.h 1999/08/30 10:12:33 1.4
@@ -22,3 +22,16 @@
running FreeBSD. This file should not be specified as $xm_file itself;
instead $xm_file should be CPU/xm-freebsd.h, which should include both
CPU/xm-CPU.h and this file xm-freebsd.h. */
+
+#ifndef HAVE_ATEXIT
+#define HAVE_ATEXIT
+#endif
+
+/* Tell gcc and collect2 that FreeBSD targets support putenv(3). */
+#define HAVE_PUTENV
+
+/* We have _sys_siglist, but the declaration in <signal.h> conflicts with
+ the declarations in collect2.c and mips-tfile.c, so disable the declarations
+ in those files. */
+
+#define SYS_SIGLIST_DECLARED

View File

@ -1,15 +0,0 @@
Egcs (pronounced "eggs") is an enhanced version of the GNU compiler
suite, including gcc, g++, and g77. Egcs is based on a recent
snapshot of the gcc-2.8 development sources; it contains nearly
all of the new features found in gcc-2.8. Egcs also contains many
improvements and features not found in gcc-2.7 and even the soon to be
released gcc-2.8 compilers. C++ support, and in particular template
support, is vastly improved over gcc-2.7.
Beware: This port installs new versions of "gcc", "g++", "c++" and
so forth into the "${PREFIX}/bin" directory. Mind your PATHs if you
don't want to use this compiler by default.
- John Polstra <jdp@polstra.com>
WWW: http://gcc.gnu.org/

View File

@ -1,27 +0,0 @@
@comment $Id: PLIST,v 1.21 1998/12/26 20:10:02 obrien Exp $
bin/g++filt
bin/g++
bin/eg++
bin/g77
bin/gcc
bin/egcc
bin/gcov
bin/%%GNU_HOST%%-gcc
bin/protoize
bin/unprotoize
%%GNU_HOST%%/include/_G_config.h
%%GNU_HOST%%/include/assert.h
%%GNU_HOST%%/lib/libiberty.a
@comment Insert PLIST.gcc-lib here
@comment -=[ begin PLIST.gcc-lib ]=-
@comment -=[ end PLIST.gcc-lib ]=-
@dirrm %%GNU_HOST%%/include
@dirrm %%GNU_HOST%%/lib
@dirrm %%GNU_HOST%%
@dirrm lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include/objc
@dirrm lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include/g++/std
@dirrm lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include/g++
@dirrm lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%/include
@dirrm lib/gcc-lib/%%GNU_HOST%%/%%EGCS_REV%%
@dirrm lib/gcc-lib/%%GNU_HOST%%
@dirrm lib/gcc-lib

View File

@ -1,146 +0,0 @@
# ex:ts=8
# Ports collection makefile for: egcs
# Date created: 9 Jan 1998
# Whom: John Polstra <jdp@polstra.com>
#
# $FreeBSD$
#
PORTNAME= gcc30
PORTVERSION= 3.0.4
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= releases/gcc-${GCC_REV}
DISTFILES= gcc-core-${GCC_REV}${EXTRACT_SUFX} \
gcc-g++-${GCC_REV}${EXTRACT_SUFX} \
gcc-g77-${GCC_REV}${EXTRACT_SUFX} \
gcc-objc-${GCC_REV}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= GNU Compiler Collection 3.0.
DEPRECATED= "This port is no longer in use by anything in the ports collection and will be removed in the future. Use a later release instead."
EXPIRATION_DATE=2006-12-01
NOT_FOR_ARCHS= amd64 sparc64 ia64
LATEST_LINK= gcc30
USE_BZIP2= yes
INFO= cpp cppinternals g77 gcc
PATCH_WRKSRC= ${SRCDIR}
CONFIGURE_SCRIPT= ../${SRCDIR:C/${WRKDIR}//}/configure
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
.endif
.if ${OSVERSION} >= 500113
BROKEN= "Does not compile"
.endif
.if ${PORTOBJFORMAT} == "elf"
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.else
CONFIGURE_TARGET= ${ARCH}-portbld-freebsdaout${OSREL}
.endif
GCC_REV= ${PORTVERSION:C/\.0$//}
SRCDIR= ${WRKDIR}/gcc-${GCC_REV}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
PLIST_SUB= GCC_REV=${GCC_REV} GNU_HOST=${CONFIGURE_TARGET}
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BISON= yes
CONFIGURE_ARGS= --disable-nls --with-gnu-as --with-gnu-ld \
--with-gxx-include-dir=${TARGLIB}/include/g++
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+=--enable-shared
.else
CONFIGURE_ARGS+=--disable-shared
.endif
.if defined(WANT_THREADS_SUPPORT)
CONFIGURE_ARGS+=--enable-threads
# ?is this an ObjC only thing?
CONFIGURE_ARGS+=--enable-threads=posix
.endif
ALL_TARGET= bootstrap
MAN1= cpp30.1 g++30.1 g77-30.1 gcc30.1 gcov30.1
MAN7= fsf-funding.7 gfdl.7 gpl.7
pre-everything::
@${ECHO_MSG} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${ARCH}-portbld-freebsd${OSREL}"
pre-configure:
@# Keep from running `autoconf' and `autoheader' since we modified
@# configure.in by patching it.
@${TOUCH} ${SRCDIR}/gcc/configure
@${TOUCH} ${SRCDIR}/gcc/cstamp-h.in
@${MKDIR} ${CONFIGURE_WRKSRC}
@${RM} -f ${SRCDIR}/gcc/*/*.info*
.if ${OSVERSION} >= 500113
@${REINPLACE_CMD} -e 's/elf_i386/elf_i386_fbsd/g' \
${SRCDIR}/gcc/config/i386/freebsd.h
.endif
pre-build:
cd ${SRCDIR} ; contrib/gcc_update --touch
pre-install:
${MKDIR} ${PREFIX}/info
post-install:
@${RM} -f ${PREFIX}/bin/c++ ${PREFIX}/bin/${CONFIGURE_TARGET}-c++
@${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt
@(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \
${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
${PREFIX}/bin/${CONFIGURE_TARGET}-gcc \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cc1 \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cc1obj \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cc1plus \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/cpp0 \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/collect2 \
${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}/f771 ; \
do \
${STRIP_CMD} $$prog ; \
done )
.for file in gcc g++ cpp g++filt gcov ${CONFIGURE_TARGET}-gcc ${CONFIGURE_TARGET}-g++
${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}30
-( ${TEST} -e ${PREFIX}/man/man1/${file}.1 \
&& ${MV} -f ${PREFIX}/man/man1/${file}.1 \
${PREFIX}/man/man1/${file}30.1 )
.endfor
.for file in g77
${MV} -f ${PREFIX}/bin/${file} ${PREFIX}/bin/${file}-30
${MV} -f ${PREFIX}/man/man1/${file}.1 ${PREFIX}/man/man1/${file}-30.1
.endfor
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${PORTVERSION:C/\.0$//}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
${MV} -f ${PREFIX}/lib/libiberty.a ${TARGLIB}
${MV} -f ${PREFIX}/lib/libstdc++.* ${PREFIX}/lib/libsupc++.* ${TARGLIB}
-${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}
#.if defined(WANT_SHAREDLIBS)
# ${MV} -f ${PREFIX}/lib/libstdc++.so* ${TARGLIB}
#.endif
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type f -o -type l \
>${WRKDIR}/PLIST.gcc-lib
cd ${PREFIX} ;\
${FIND} ${TARGLIB:S/^${PREFIX}\///} -type d \
| ${SORT} -r | ${SED} -e 's/^/@dirrm /g' \
>>${WRKDIR}/PLIST.gcc-lib
(${ECHO_CMD} "@unexec rmdir %D/lib/gcc-lib/${CONFIGURE_TARGET} 2>&1 || true" ; ${ECHO_CMD} "@unexec rmdir %D/lib/gcc-lib 2>&1 || true") >> ${WRKDIR}/PLIST.gcc-lib
${ECHO_CMD} "r ${TMPPLIST}" > ${WRKDIR}/ex.script
${ECHO_CMD} "/Insert PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "d" >> ${WRKDIR}/ex.script
${ECHO_CMD} "r ${WRKDIR}/PLIST.gcc-lib" >> ${WRKDIR}/ex.script
${ECHO_CMD} "x!" >> ${WRKDIR}/ex.script
${CP} -p ${TMPPLIST} ${TMPPLIST}.pre-gcc-lib
cd ${WRKDIR} ; ex < ex.script
.include <bsd.port.post.mk>

View File

@ -1,12 +0,0 @@
MD5 (gcc-core-3.0.4.tar.bz2) = 91b2eb00067defd75b6ab35e25e18a3e
SHA256 (gcc-core-3.0.4.tar.bz2) = 6a0ebe892eae420d32ebc465d17d180a7358456d1e8775c2d488acb456bac802
SIZE (gcc-core-3.0.4.tar.bz2) = 7920477
MD5 (gcc-g++-3.0.4.tar.bz2) = 3640e2dc5d06257ed612da6da402a0c7
SHA256 (gcc-g++-3.0.4.tar.bz2) = bb90c8fc4dc7a1e610237887deb8a85f30719eb2deef9119d0174bca33c51a5d
SIZE (gcc-g++-3.0.4.tar.bz2) = 1748874
MD5 (gcc-g77-3.0.4.tar.bz2) = 22c9def796cd7e01753cde3e01c125af
SHA256 (gcc-g77-3.0.4.tar.bz2) = 1724aa8e4bd1063339ef761f3c934c3842b1bf025791d9fb66ac14eb70406ee9
SIZE (gcc-g77-3.0.4.tar.bz2) = 1121057
MD5 (gcc-objc-3.0.4.tar.bz2) = af54f3eb7ea363728397fe9a445773e6
SHA256 (gcc-objc-3.0.4.tar.bz2) = e0959e7f004b5c51a69e6887328a0d663347af88e6fe467f38600682c88bcf5c
SIZE (gcc-objc-3.0.4.tar.bz2) = 183586

View File

@ -1,82 +0,0 @@
--- gcc/config/i386/freebsd-aout.h.orig Thu Nov 2 15:29:09 2000
+++ gcc/config/i386/freebsd-aout.h Mon Nov 27 01:45:04 2000
@@ -31,8 +31,11 @@
/* This goes away when the math-emulator is fixed */
#undef TARGET_DEFAULT
+/*
#define TARGET_DEFAULT \
(MASK_80387 | MASK_IEEE_FP | MASK_FLOAT_RETURNS | MASK_NO_FANCY_MATH_387)
+*/
+#define TARGET_CPU_DEFAULT 0400 /* TARGET_NO_FANCY_MATH_387 */
#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -D__FreeBSD__\
@@ -84,14 +87,6 @@
necessary when compiling PIC code. */
#define JUMP_TABLES_IN_TEXT_SECTION 1
-
-/* Don't default to pcc-struct-return, because in FreeBSD we prefer the
- superior nature of the older gcc way. */
-#define DEFAULT_PCC_STRUCT_RETURN 0
-
-/* Ensure we the configuration knows our system correctly so we can link with
- libraries compiled with the native cc. */
-#undef NO_DOLLAR_IN_LABEL
/* i386 freebsd still uses old binutils that don't insert nops by default
when the .align directive demands to insert extra space in the text
@@ -102,19 +97,18 @@
/* Profiling routines, partially copied from i386/osfrose.h. */
-/* Redefine this to use %eax instead of %edx. */
+/* Tell final.c that we don't need a label passed to mcount. */
+#define NO_PROFILE_DATA
+
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
if (flag_pic) \
{ \
- fprintf (FILE, "\tleal %sP%d@GOTOFF(%%ebx),%%eax\n", \
- LPREFIX, (LABELNO)); \
fprintf (FILE, "\tcall *mcount@GOT(%%ebx)\n"); \
} \
else \
{ \
- fprintf (FILE, "\tmovl $%sP%d,%%eax\n", LPREFIX, (LABELNO)); \
fprintf (FILE, "\tcall mcount\n"); \
} \
}
@@ -132,6 +126,7 @@
#define TYPE_ASM_OP "\t.type\t"
#define SIZE_ASM_OP "\t.size\t"
+#define SET_ASM_OP "\t.set\t"
/* The following macro defines the format used to output the second
operand of the .type assembler directive. Different svr4 assemblers
@@ -141,6 +136,12 @@
#define TYPE_OPERAND_FMT "@%s"
+#define HANDLE_SYSV_PRAGMA 1
+
+#define ASM_WEAKEN_LABEL(FILE,NAME) \
+ do { fputs ("\t.weak\t", FILE); assemble_name (FILE, NAME); \
+ fputc ('\n', FILE); } while (0)
+
/* Write the extra assembler code needed to declare a function's result.
Most svr4 assemblers don't require any special declaration of the
result value, but there are exceptions. */
@@ -242,6 +243,8 @@
#define STARTFILE_SPEC \
"%{shared:c++rt0.o%s} \
%{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}"
+
+#define MD_STARTFILE_PREFIX "/usr/lib/aout/"
/* Define this so we can compile MS code for use with WINE. */
#define HANDLE_PRAGMA_PACK_PUSH_POP

View File

@ -1,50 +0,0 @@
--- gcc/config/i386/freebsd.h.orig Wed May 30 16:05:31 2001
+++ gcc/config/i386/freebsd.h Mon Jun 18 17:47:30 2001
@@ -76,6 +76,14 @@
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE BITS_PER_WORD
+
+#undef CC1_SPEC
+#define CC1_SPEC "\
+ %{gline:%{!g:%{!g0:%{!g1:%{!g2: -g1}}}}} \
+ %{maout: %{!mno-underscores: %{!munderscores: -munderscores }}}"
+
+#undef ASM_SPEC
+#define ASM_SPEC "%{v*: -v} %{maout: %{fpic:-k} %{fPIC:-k}}"
/* Provide a STARTFILE_SPEC appropriate for FreeBSD. Here we add
the magical crtbegin.o file (see crtstuff.c) which provides part
@@ -84,11 +92,18 @@
#undef STARTFILE_SPEC
#define STARTFILE_SPEC \
- "%{!shared: \
- %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} \
- %{!p:%{profile:gcrt1.o%s} \
- %{!profile:crt1.o%s}}}} \
- crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
+ "%{maout: %{shared:c++rt0.o%s} \
+ %{!shared:%{pg:gcrt0.o%s}%{!pg:%{static:scrt0.o%s}%{!static:crt0.o%s}}}} \
+ %{!maout: \
+ %{!shared: \
+ %{pg:gcrt1.o%s} \
+ %{!pg:%{p:gcrt1.o%s} \
+ %{!p:%{profile:gcrt1.o%s} \
+ %{!profile:crt1.o%s}}}} \
+ crti.o%s \
+ %{!shared:crtbegin.o%s} \
+ %{shared:crtbeginS.o%s} \
+ }"
/* Provide a ENDFILE_SPEC appropriate for FreeBSD. Here we tack on
the magical crtend.o file (see crtstuff.c) which provides part of
@@ -98,7 +113,7 @@
#undef ENDFILE_SPEC
#define ENDFILE_SPEC \
- "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+ "%{!maout: %{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s}"
/* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support
for the special GCC options -static and -shared, which allow us to

View File

@ -1,31 +0,0 @@
--- gcc/final.c.orig Sat Sep 5 22:52:01 1998
+++ gcc/final.c Wed Oct 7 17:06:58 1998
@@ -383,6 +383,8 @@
/* zero word */
assemble_integer (const0_rtx, long_bytes, 1);
+ fprintf(asm_out_file,".stabs \"bbset\", 25, 0, 0, LPBX0\n");
+
/* address of filename */
ASM_GENERATE_INTERNAL_LABEL (name, "LPBX", 1);
assemble_integer (gen_rtx_SYMBOL_REF (Pmode, name), pointer_bytes, 1);
@@ -1635,6 +1637,9 @@
leaf_renumber_regs (first);
#endif
+ if (profile_block_flag)
+ add_bb (file);
+
/* The Sun386i and perhaps other machines don't work right
if the profiling code comes after the prologue. */
#ifdef PROFILE_BEFORE_PROLOGUE
@@ -1800,6 +1809,9 @@
code to restore the stack frame and return to the caller. */
FUNCTION_EPILOGUE (file, get_frame_size ());
#endif
+
+ if (profile_block_flag)
+ add_bb (file);
#ifdef SDB_DEBUGGING_INFO
if (write_symbols == SDB_DEBUG)

View File

@ -1,64 +0,0 @@
--- gcc/config.gcc.orig Sun Nov 19 16:58:02 2000
+++ gcc/config.gcc Tue Nov 28 11:51:45 2000
@@ -495,6 +495,20 @@
tm_file=arm/semiaof.h
tmake_file=arm/t-semiaof
;;
+arm-*-freebsd*)
+ tm_file="${tm_file} freebsd.h arm/elf.h arm/freebsd.h"
+ tmake_file="t-freebsd arm/t-arm-elf"
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+ xmake_file=none
+ gas=yes gnu_ld=yes
+ stabs=yes
+ case x${enable_threads} in
+ xyes | xpthreads | xposix)
+ thread_file='posix'
+ tmake_file="${tmake_file} t-freebsd-thread"
+ ;;
+ esac
+ ;;
arm*-*-netbsd*)
tm_file=arm/netbsd.h
tmake_file="t-netbsd arm/t-netbsd"
@@ -2674,6 +2688,19 @@
tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
extra_headers=ppc-asm.h
;;
+powerpc*-*-freebsd*)
+ tm_file="${tm_file} freebsd.h rs6000/freebsd.h"
+ tmake_file="rs6000/t-ppcos t-freebsd rs6000/t-ppccomm"
+ xmake_file=none
+ gas=yes gnu_ld=yes
+ stabs=yes
+ case x${enable_threads} in
+ xyes | xpthreads | xposix)
+ thread_file='posix'
+ tmake_file="${tmake_file} t-freebsd-thread"
+ ;;
+ esac
+ ;;
powerpc-*-linux*libc1)
tm_file="rs6000/sysv4.h rs6000/linux.h"
xm_file=rs6000/xm-sysv4.h
@@ -3101,6 +3128,20 @@
tmake_file=sparc/t-sp64
tm_file=sparc/sp64-elf.h
extra_parts="crtbegin.o crtend.o"
+ ;;
+sparc64-*-freebsd*)
+ tm_file="${tm_file} freebsd.h sparc/elf.h sparc/sp64-elf.h sparc/freebsd.h"
+ tmake_file=t-freebsd sparc/t-sp64
+ extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
+ xmake_file=none
+ gas=yes gnu_ld=yes
+ stabs=yes
+ case x${enable_threads} in
+ xyes | xpthreads | xposix)
+ thread_file='posix'
+ tmake_file="${tmake_file} t-freebsd-thread"
+ ;;
+ esac
;;
sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
tmake_file="t-linux sparc/t-linux64"

View File

@ -1,52 +0,0 @@
--- gcc/config/freebsd.h.orig Sat Nov 3 12:28:24 2001
+++ gcc/config/freebsd.h Sun Jan 27 02:22:51 2002
@@ -55,29 +55,32 @@
#undef WORD_SWITCH_TAKES_ARG
#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR))
+/* Place spaces around this string. We depend on string splicing to produce
+ the final CPP_PREDEFINES value. */
+
#if FBSD_MAJOR == 6
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=6 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=6 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#if FBSD_MAJOR == 5
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=5 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=5 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#if FBSD_MAJOR == 4
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=4 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=4 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#if FBSD_MAJOR == 3
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__=3 -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__=3 -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#ifndef FBSD_CPP_PREDEFINES
#define FBSD_CPP_PREDEFINES \
- "-D__FreeBSD__ -Dunix -D__ELF__ -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD"
+ " -D__FreeBSD__ -Dunix -D__KPRINTF_ATTRIBUTE__ -Asystem=unix -Asystem=bsd -Asystem=FreeBSD "
#endif
#undef CPP_PREDEFINES
@@ -89,7 +92,10 @@
#define FBSD_CPP_SPEC " \
%(cpp_cpu) \
%{fPIC:-D__PIC__ -D__pic__} %{fpic:-D__PIC__ -D__pic__} \
- %{posix:-D_POSIX_SOURCE}"
+ %{posix:-D_POSIX_SOURCE} \
+ %{!maout: -D__ELF__} \
+ %{munderscores: -D__UNDERSCORES__} \
+ %{maout: %{!mno-underscores: -D__UNDERSCORES__}}"
#undef CPP_SPEC
#define CPP_SPEC FBSD_CPP_SPEC

View File

@ -1,309 +0,0 @@
--- gcc/c-format.c.orig Sat Jan 13 15:29:57 2001
+++ gcc/c-format.c Wed Feb 14 03:47:34 2001
@@ -75,13 +75,16 @@
last. */
enum format_type { printf_format_type, scanf_format_type,
strftime_format_type, strfmon_format_type,
+ printf0_format_type,
format_type_error };
static enum format_type decode_format_type PARAMS ((const char *));
static void record_function_format PARAMS ((tree, tree, enum format_type,
- int, int));
+ int, int, int));
static void record_international_format PARAMS ((tree, tree, int));
+inline static int get_null_fmt_ok PARAMS ((enum format_type));
+
/* Handle the format attribute (with arguments ARGS) attached to the decl
DECL. It is already verified that DECL is a decl and ARGS contains
exactly three arguments. */
@@ -99,6 +102,7 @@
enum format_type format_type;
tree argument;
unsigned int arg_num;
+ int null_format_ok;
if (TREE_CODE (decl) != FUNCTION_DECL)
{
@@ -109,7 +113,7 @@
if (TREE_CODE (format_type_id) != IDENTIFIER_NODE)
{
- error ("unrecognized format specifier");
+ error_with_decl (decl, "unrecognized format specifier");
return;
}
else
@@ -117,6 +121,7 @@
const char *p = IDENTIFIER_POINTER (format_type_id);
format_type = decode_format_type (p);
+ null_format_ok = get_null_fmt_ok (format_type);
if (format_type == format_type_error)
{
@@ -195,7 +200,8 @@
}
record_function_format (DECL_NAME (decl), DECL_ASSEMBLER_NAME (decl),
- format_type, format_num, first_arg_num);
+ format_type, format_num, first_arg_num,
+ null_format_ok);
}
@@ -276,6 +282,7 @@
enum format_type format_type; /* type of format (printf, scanf, etc.) */
int format_num; /* number of format argument */
int first_arg_num; /* number of first arg (zero for varargs) */
+ int null_format_ok; /* TRUE if the format string may be NULL */
} function_format_info;
static function_format_info *function_format_list = NULL;
@@ -309,44 +316,44 @@
{
/* Functions from ISO/IEC 9899:1990. */
record_function_format (get_identifier ("printf"), NULL_TREE,
- printf_format_type, 1, 2);
+ printf_format_type, 1, 2, 0);
record_function_format (get_identifier ("__builtin_printf"), NULL_TREE,
- printf_format_type, 1, 2);
+ printf_format_type, 1, 2, 0);
record_function_format (get_identifier ("fprintf"), NULL_TREE,
- printf_format_type, 2, 3);
+ printf_format_type, 2, 3, 0);
record_function_format (get_identifier ("__builtin_fprintf"), NULL_TREE,
- printf_format_type, 2, 3);
+ printf_format_type, 2, 3, 0);
record_function_format (get_identifier ("sprintf"), NULL_TREE,
- printf_format_type, 2, 3);
+ printf_format_type, 2, 3, 0);
record_function_format (get_identifier ("scanf"), NULL_TREE,
- scanf_format_type, 1, 2);
+ scanf_format_type, 1, 2, 0);
record_function_format (get_identifier ("fscanf"), NULL_TREE,
- scanf_format_type, 2, 3);
+ scanf_format_type, 2, 3, 0);
record_function_format (get_identifier ("sscanf"), NULL_TREE,
- scanf_format_type, 2, 3);
+ scanf_format_type, 2, 3, 0);
record_function_format (get_identifier ("vprintf"), NULL_TREE,
- printf_format_type, 1, 0);
+ printf_format_type, 1, 0, 0);
record_function_format (get_identifier ("vfprintf"), NULL_TREE,
- printf_format_type, 2, 0);
+ printf_format_type, 2, 0, 0);
record_function_format (get_identifier ("vsprintf"), NULL_TREE,
- printf_format_type, 2, 0);
+ printf_format_type, 2, 0, 0);
record_function_format (get_identifier ("strftime"), NULL_TREE,
- strftime_format_type, 3, 0);
+ strftime_format_type, 3, 0, 0);
}
if (flag_hosted && flag_isoc99)
{
/* ISO C99 adds the snprintf and vscanf family functions. */
record_function_format (get_identifier ("snprintf"), NULL_TREE,
- printf_format_type, 3, 4);
+ printf_format_type, 3, 4, 0);
record_function_format (get_identifier ("vsnprintf"), NULL_TREE,
- printf_format_type, 3, 0);
+ printf_format_type, 3, 0, 0);
record_function_format (get_identifier ("vscanf"), NULL_TREE,
- scanf_format_type, 1, 0);
+ scanf_format_type, 1, 0, 0);
record_function_format (get_identifier ("vfscanf"), NULL_TREE,
- scanf_format_type, 2, 0);
+ scanf_format_type, 2, 0, 0);
record_function_format (get_identifier ("vsscanf"), NULL_TREE,
- scanf_format_type, 2, 0);
+ scanf_format_type, 2, 0, 0);
}
if (flag_hosted && flag_noniso_default_format_attributes)
@@ -357,7 +364,7 @@
record_international_format (get_identifier ("dcgettext"), NULL_TREE, 2);
/* X/Open strfmon function. */
record_function_format (get_identifier ("strfmon"), NULL_TREE,
- strfmon_format_type, 3, 4);
+ strfmon_format_type, 3, 4, 0);
}
}
@@ -372,12 +379,13 @@
static void
record_function_format (name, assembler_name, format_type,
- format_num, first_arg_num)
+ format_num, first_arg_num, null_format_ok)
tree name;
tree assembler_name;
enum format_type format_type;
int format_num;
int first_arg_num;
+ int null_format_ok;
{
function_format_info *info;
@@ -401,6 +409,7 @@
info->format_type = format_type;
info->format_num = format_num;
info->first_arg_num = first_arg_num;
+ info->null_format_ok = null_format_ok;
}
/* Record information for the names of function that modify the format
@@ -677,6 +686,8 @@
/* Pointer to type of argument expected if '*' is used for a precision,
or NULL if '*' not used for precisions. */
tree *precision_type;
+ /* Needed for FreeBSD kernel and the printf0() printf-like function. */
+ int null_format_ok;
} format_kind_info;
@@ -902,6 +913,20 @@
static const format_char_info print_char_table[] =
{
+#warning The FreeBSD kernel extensions in print_char_table might not be done correctly.
+/* FreeBSD kernel extensions (src/sys/kern/subr_prf.c). */
+/* The format %b is supported to decode error registers.
+ Its usage is: printf("reg=%b\n", regval, "<base><arg>*");
+ which produces: reg=3<BITTWO,BITONE>
+ The format %D provides a hexdump given a pointer and separator string:
+ ("%6D", ptr, ":") -> XX:XX:XX:XX:XX:XX
+ ("%*D", len, ptr, " ") -> XX XX XX XX ...
+ */
+ { "D", 1, STD_EXT, { T89_C, T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "c" },
+ { "b", 1, STD_EXT, { T89_C, T89_C, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp", "" },
+ { "rz", 0, STD_EXT, { BADLEN, T89_I, T89_I, T89_L, BADLEN, BADLEN, BADLEN, BADLEN, BADLEN }, "-wp0 +#", "i" },
+#define unextended_print_char_table (print_char_table + 3)
+#warning The FreeBSD kernel extensions in print_char_table might not be done correctly.
/* C89 conversion specifiers. */
{ "di", 0, STD_C89, { T89_I, T99_SC, T89_S, T89_L, T9L_LL, TEX_LL, T99_SST, T99_PD, T99_IM }, "-wp0 +'I", "i" },
{ "oxX", 0, STD_C89, { T89_UI, T99_UC, T89_US, T89_UL, T9L_ULL, TEX_ULL, T99_ST, T99_UPD, T99_UIM }, "-wp0#", "i" },
@@ -985,22 +1010,33 @@
FMT_FLAG_ARG_CONVERT|FMT_FLAG_DOLLAR_MULTIPLE|FMT_FLAG_USE_DOLLAR|FMT_FLAG_EMPTY_PREC_OK,
'w', 0, 'p', 0, 'L',
&integer_type_node, &integer_type_node
+ ,0
},
{ "scanf", scanf_length_specs, scan_char_table, "*'I", NULL,
scanf_flag_specs, scanf_flag_pairs,
FMT_FLAG_ARG_CONVERT|FMT_FLAG_SCANF_A_KLUDGE|FMT_FLAG_USE_DOLLAR|FMT_FLAG_ZERO_WIDTH_BAD,
'w', 0, 0, '*', 'L',
NULL, NULL
+ ,0
},
{ "strftime", NULL, time_char_table, "_-0^#", "EO",
strftime_flag_specs, strftime_flag_pairs,
FMT_FLAG_FANCY_PERCENT_OK, 'w', 0, 0, 0, 0,
NULL, NULL
+ ,0
},
{ "strfmon", strfmon_length_specs, monetary_char_table, "=^+(!-", NULL,
strfmon_flag_specs, strfmon_flag_pairs,
FMT_FLAG_ARG_CONVERT, 'w', '#', 'p', 0, 'L',
NULL, NULL
+ ,0
+ },
+ { "printf0", printf_length_specs, print_char_table, " +#0-'I", NULL,
+ printf_flag_specs, printf_flag_pairs,
+ FMT_FLAG_ARG_CONVERT|FMT_FLAG_DOLLAR_MULTIPLE|FMT_FLAG_USE_DOLLAR|FMT_FLAG_EMPTY_PREC_OK,
+ 'w', 0, 'p', 0, 'L',
+ &integer_type_node, &integer_type_node
+ ,1
}
};
@@ -1053,6 +1089,14 @@
static void check_format_types PARAMS ((int *, format_wanted_type *));
+
+inline static int get_null_fmt_ok (fmttype)
+ enum format_type fmttype;
+{
+ return format_types[(int)fmttype].null_format_ok;
+}
+
+
/* Decode a format type from a string, returning the type, or
format_type_error if not valid, in which case the caller should print an
error message. */
@@ -1568,7 +1612,7 @@
specially if info == NULL and add a res->number_null entry for
that case, or maybe add a function pointer to be called at
the end instead of hardcoding check_format_info_main. */
- status_warning (status, "null format string");
+ if (!info->null_format_ok) status_warning (status, "null format string");
/* Skip to first argument to check, so we can see if this format
has any arguments (it shouldn't). */
@@ -1764,6 +1808,54 @@
main_arg_num = opnum + info->first_arg_num - 1;
}
}
+ if (*format_chars == 'b')
+ {
+ /* There should be an int arg to control the string arg. */
+ if (params == 0)
+ {
+ status_warning (status, "too few arguments for format");
+ return;
+ }
+ if (info->first_arg_num != 0)
+ {
+ cur_param = TREE_VALUE (params);
+ params = TREE_CHAIN (params);
+ ++arg_num;
+ if ((TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
+ != integer_type_node)
+ &&
+ (TYPE_MAIN_VARIANT (TREE_TYPE (cur_param))
+ != unsigned_type_node))
+ {
+ status_warning (status, "bitmap is not type int (arg %d)", arg_num);
+ }
+ }
+ }
+ if (*format_chars == 'D')
+ {
+ /* There should be an unsigned char * arg before the string arg. */
+ if (params == 0)
+ {
+ status_warning (status, "too few arguments for format");
+ return;
+ }
+ if (info->first_arg_num != 0)
+ {
+ tree cur_type;
+ cur_param = TREE_VALUE (params);
+ params = TREE_CHAIN (params);
+ ++arg_num;
+ cur_type = TREE_TYPE (cur_param);
+ if (TREE_CODE (cur_type) != POINTER_TYPE
+ || TYPE_MAIN_VARIANT (TREE_TYPE (cur_type))
+ != unsigned_char_type_node)
+ {
+ status_warning (status,
+ "ethernet address is not type unsigned char * (arg %d)",
+ arg_num);
+ }
+ }
+ }
/* Read any format flags, but do not yet validate them beyond removing
duplicates, since in general validation depends on the rest of
@@ -2166,7 +2258,7 @@
else if (strchr (fci->flags2, '2') != 0)
y2k_level = 2;
if (y2k_level == 3)
- status_warning (status, "`%%%c' yields only last 2 digits of year in some locales",
+ status_warning (status, "`%%%c' yields only last 2 digits of year in some locales on non-BSD systems",
format_char);
else if (y2k_level == 2)
status_warning (status, "`%%%c' yields only last 2 digits of year", format_char);

View File

@ -1,13 +0,0 @@
--- gcc/flags.h.orig Sun Jan 31 09:46:18 1999
+++ gcc/flags.h Tue Mar 30 13:17:11 1999
@@ -137,6 +137,10 @@
extern int warn_aggregate_return;
+/* Nonzero means that -Wformat accepts certain non-ANSI formats. */
+
+extern int flag_format_extensions;
+
/* Nonzero if generating code to do profiling. */
extern int profile_flag;

View File

@ -1,41 +0,0 @@
--- gcc/toplev.c.orig Tue Jun 6 13:11:39 2000
+++ gcc/toplev.c Mon Jun 26 20:19:31 2000
@@ -787,6 +787,9 @@
/* Tag all structures with __attribute__(packed) */
int flag_pack_struct = 0;
+/* Nonzero means that -Wformat accepts certain system-dependent formats. */
+int flag_format_extensions = 0;
+
/* Emit code to check for stack overflow; also may cause large objects
to be allocated dynamically. */
int flag_stack_check;
@@ -1064,6 +1067,8 @@
"Do the full regmove optimization pass"},
{"pack-struct", &flag_pack_struct, 1,
N_("Pack structure members together without holes") },
+ {"format-extensions", &flag_format_extensions, 1,
+ N_("-Wformat accepts certain FreeBSD system-dependent formats") },
{"stack-check", &flag_stack_check, 1,
N_("Insert stack checking code into the program") },
{"argument-alias", &flag_argument_noalias, 0,
@@ -4484,6 +4489,19 @@
if (optimize_val != -1)
{
optimize = optimize_val;
+#ifdef __alpha__
+ if (optimize > 1)
+ {
+ #ifdef FORCE_OPTIMIZATION_DOWNGRADE
+ optimize = 1;
+ warning ("\n***\n***\t-O%d converted to \"-O1\" due to optimizer bugs on this platform\n***\n",
+ optimize_val);
+ #else
+ warning ("\n***\n***\tThe -O%d flag TRIGGERS KNOWN OPTIMIZER BUGS ON THIS PLATFORM\n***\n",
+ optimize_val);
+ #endif
+ }
+#endif /*__alpha__*/
optimize_size = 0;
}
}

View File

@ -1,20 +0,0 @@
--- gcc/Makefile.in.orig Sat Nov 18 16:30:05 2000
+++ gcc/Makefile.in Mon Nov 27 02:29:50 2000
@@ -863,7 +863,7 @@
rm -f config.run
$(srcdir)/configure: $(srcdir)/configure.in
- (cd $(srcdir) && autoconf)
+ (cd $(srcdir) && echo "wants to run autoconf")
gccbug: $(srcdir)/gccbug.in
CONFIG_FILES=gccbug CONFIG_HEADERS= ./config.status
@@ -882,7 +882,7 @@
# ??? Newer versions have a maintainer mode that may be useful here.
$(srcdir)/config.in: $(srcdir)/cstamp-h.in
$(srcdir)/cstamp-h.in: $(srcdir)/configure.in $(srcdir)/acconfig.h
- (cd $(srcdir) && autoheader)
+ (cd $(srcdir) && echo "wants to run autoheader")
@rm -f $(srcdir)/cstamp-h.in
echo timestamp > $(srcdir)/cstamp-h.in
auto-host.h: cstamp-h ; @true

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig Fri Jun 8 12:23:56 2001
+++ Makefile.in Sat Sep 1 18:57:21 2001
@@ -143,7 +143,7 @@
MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
then echo $$r/texinfo/makeinfo/makeinfo ; \
- else echo makeinfo ; fi`
+ else echo makeinfo --no-split ; fi`
# This just becomes part of the MAKEINFO definition passed down to
# sub-makes. It lets flags be given on the command line while still

View File

@ -1,3 +0,0 @@
GCC, the GNU Compiler Collection includes gcc, g++, g77, and gcj.
WWW: http://gcc.gnu.org/

View File

@ -1,19 +0,0 @@
@comment $FreeBSD$
bin/cpp30
bin/g++filt30
bin/g++30
bin/g77-30
bin/gcc30
bin/gcov30
bin/%%GNU_HOST%%-gcc30
bin/%%GNU_HOST%%-g++30
bin/gccbug-%%GCC_REV%%
@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 ]=-
@comment unexec install-info --delete %D/info/c-tree.info %D/info/dir
@comment info/c-tree.info
@comment info/c-tree.info-1
@comment info/c-tree.info-2
@comment info/c-tree.info-3

View File

@ -72,7 +72,6 @@
SUBDIR += gstreamer-plugins-libfame80
SUBDIR += gstreamer-plugins-mpeg2dec
SUBDIR += gstreamer-plugins-mpeg2dec80
SUBDIR += gstreamer-plugins-mpeg2enc80
SUBDIR += gstreamer-plugins-mplex80
SUBDIR += gstreamer-plugins-theora
SUBDIR += gstreamer-plugins-theora80

View File

@ -1,22 +0,0 @@
# New ports collection makefile for: gstreamer-plugins-mpeg2enc
# Date created: 3 Oct 2004
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom: ports/multimedia/gstreamer-plugins-mpeg2enc80/Makefile,v 1.1 2006/01/20 02:56:06 ahze Exp $
#
PORTREVISION= 2
CATEGORIES= multimedia
COMMENT= Gstreamer mpeg encoder plugin
BROKEN= Does not compile
DEPRECATED= ${BROKEN}
EXPIRATION_DATE=2006-12-01
GST_PLUGIN= mpeg2enc
MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins80
.include "${MASTERDIR}/Makefile"

View File

@ -125,31 +125,20 @@
SUBDIR += latex
SUBDIR += latex-arydshln
SUBDIR += latex-auto-greek
SUBDIR += latex-beamer
SUBDIR += latex-biblist
SUBDIR += latex-bibtopic
SUBDIR += latex-bibunits
SUBDIR += latex-booktabs
SUBDIR += latex-bytefield
SUBDIR += latex-caption
SUBDIR += latex-circ
SUBDIR += latex-feynmf
SUBDIR += latex-index
SUBDIR += latex-keystroke
SUBDIR += latex-layouts
SUBDIR += latex-lineno
SUBDIR += latex-logpap
SUBDIR += latex-mathabx
SUBDIR += latex-msc
SUBDIR += latex-pgf
SUBDIR += latex-pict2e
SUBDIR += latex-subfig
SUBDIR += latex-subfloat
SUBDIR += latex-svninfo
SUBDIR += latex-timing
SUBDIR += latex-tipa
SUBDIR += latex-ucs
SUBDIR += latex-xcolor
SUBDIR += latex2rtf
SUBDIR += latex2slides
SUBDIR += latexdiff

View File

@ -1,74 +0,0 @@
# New ports collection makefile for: latex-beamer
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-beamer
PORTVERSION= 3.01
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX class to create a beamer presentation
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${LOCALBASE}/${TEXMFLOCAL}/tex/latex/xcolor/xcolor.sty:${PORTSDIR}/print/latex-xcolor \
${LOCALBASE}/${TEXMFLOCAL}/tex/latex/pgf/pgf.sty:${PORTSDIR}/print/latex-pgf \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_SUBDIRS= base emulation emacs examples extensions lyx themes
DOC_SUBDIRS= AUTHORS ChangeLog FILES INSTALL README TODO \
doc solutions
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
pre-install:
${RM} -f ${PLIST}
${TOUCH} ${PLIST}
cd ${WRKSRC} && ( \
${FIND} ${CLASS_SUBDIRS} -type f | \
${SED} -e "s%^%${CLASSDIR:S,^${PREFIX}/,,}/%"; \
${FIND} ${CLASS_SUBDIRS} -type d | \
${SORT} -r | ${SED} -e "s,^,@dirrm ${CLASSDIR:S,^${PREFIX}/,,}/,"; \
) >> ${PLIST}
.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ( \
${FIND} ${DOC_SUBDIRS} -type f | \
${SED} -e "s%^%${DOCSDIR:S,^${PREFIX}/,,}/%"; \
${FIND} ${DOC_SUBDIRS} -type d | \
${SORT} -r | ${SED} -e "s%^%@dirrm ${DOCSDIR:S,^${PREFIX}/,,}/%"; \
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}"; \
) >> ${PLIST}
.endif
${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
( cd ${WRKSRC} && ${TAR} cf - ${CLASS_SUBDIRS} ) | \
( cd ${PREFIX}/${CLASSDIR} && ${TAR} xf - )
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
( cd ${WRKSRC} && ${TAR} cf - ${DOC_SUBDIRS} ) | \
( cd ${DOCSDIR} && ${TAR} xf - )
.endif
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (latex-beamer-3.01.tar.gz) = 4f1b96c15eba6304da49fc7814044837
SHA256 (latex-beamer-3.01.tar.gz) = fbe8ef1d2e2131afccff3b820513b57249e74a81a6b1d9c57a96b8030a112488
SIZE (latex-beamer-3.01.tar.gz) = 2554449

View File

@ -1,6 +0,0 @@
The beamer class is a LaTeX class that allows you to create a beamer
presentation. It can also be used to create slides. It behaves similarly
to other packages like Prosper, but has the advantage that it works
together directly with pdflatex, but also with dvips.
WWW: http://latex-beamer.sourceforge.net/

View File

@ -1,71 +0,0 @@
# New ports collection makefile for: latex-bibtopic
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-bibtopic
PORTVERSION= 1.2.20030228
PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/bibtopic
DISTFILES= ${DOC_FILES} bibtopic.dtx bibtopic.ins
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package allows several bibliographies in a document
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
PLIST= ${WRKDIR}/pkg-plist
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/latex
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
CLASS_FILES= bibtopic.sty bibtopic.ins bibtopic.dtx
DOC_FILES= README bibtopic.pdf
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${TEX_BIN} bibtopic.ins
(for F in ${CLASS_FILES}; do \
${ECHO_CMD} "${CLASSDIR}/$${F}"; \
done;\
${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST}
.if !defined(NOPORTDOCS)
(for F in ${DOC_FILES}; do \
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
done;\
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
.endif
${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
MD5 (latex-bibtopic/README) = 0a3e6338ad3991ce504daaa44a9ade72
SHA256 (latex-bibtopic/README) = b089c286fb2e1141c3b63e45c2c977e081193f21d4506b3643c2329542e55e2d
SIZE (latex-bibtopic/README) = 925
MD5 (latex-bibtopic/bibtopic.pdf) = 2ebb22b1b0f25b828f811c4cc1e3995e
SHA256 (latex-bibtopic/bibtopic.pdf) = bf1c4cb073d2184672c43159a79a493650769ba85c68b7095c0a86018ce4f030
SIZE (latex-bibtopic/bibtopic.pdf) = 250604
MD5 (latex-bibtopic/bibtopic.dtx) = 5be022a695b24e6ab19c4016a0df5fb0
SHA256 (latex-bibtopic/bibtopic.dtx) = 35a96b67d7f3c2e5d7d69201255f1b377a78af77d8f8ad713cfc0c7205c6395d
SIZE (latex-bibtopic/bibtopic.dtx) = 162696
MD5 (latex-bibtopic/bibtopic.ins) = 317336f9df8c1a9b73670d0cb59dca74
SHA256 (latex-bibtopic/bibtopic.ins) = 0d82b9f2013938f44baee87da0419fdd602fe64baf450850588f2841593c4677
SIZE (latex-bibtopic/bibtopic.ins) = 6116

View File

@ -1,4 +0,0 @@
bibtopic is a LaTeX package for including several bibliographies in
a document. These bibliographies might be considered to cover different
topics (hence the name) or bibliographic material (e.g., primary and
secondary literature) and the like.

View File

@ -1,72 +0,0 @@
# New ports collection makefile for: latex-bibunits
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-bibunits
PORTVERSION= 2.4.20040512
PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/bibunits
DISTFILES= ${DOC_FILES} bibunits.dtx bibunits.ins
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package allows separate bibliographies
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
PLIST= ${WRKDIR}/pkg-plist
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/etex
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
CLASS_FILES= bibunits.sty bibunits.ins bibunits.dtx
DOC_FILES= README bibunits.pdf
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${TEX_BIN} bibunits.ins
(for F in ${CLASS_FILES}; do \
${ECHO_CMD} "${CLASSDIR}/$${F}"; \
done;\
${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST}
.if !defined(NOPORTDOCS)
(for F in ${DOC_FILES}; do \
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
done;\
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
.endif
${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
MD5 (latex-bibunits/README) = 72d8271d2c98640b464b1d2eff92691a
SHA256 (latex-bibunits/README) = d46f150b3015fc0b24efb0edc3a9df1ff168c681df5065bcfcb26d4af53785fc
SIZE (latex-bibunits/README) = 1720
MD5 (latex-bibunits/bibunits.pdf) = 3d3dfa9814817148f93ec0a7efe8c479
SHA256 (latex-bibunits/bibunits.pdf) = d6fab0cdc8b11bfa9cfb5eef011049d63b209fed8259dc1ef2adeeee85de268f
SIZE (latex-bibunits/bibunits.pdf) = 270097
MD5 (latex-bibunits/bibunits.dtx) = d000dfdd8e9c19894512910032a5ba9c
SHA256 (latex-bibunits/bibunits.dtx) = 910b32cf8c1ff26de6fc96e3812ce17709bf03f1bab9a3627a986281a665fd78
SIZE (latex-bibunits/bibunits.dtx) = 66858
MD5 (latex-bibunits/bibunits.ins) = 20c6f0221d767f2dad74e59d99558456
SHA256 (latex-bibunits/bibunits.ins) = 5b2afa7d8678a2a283889daf7d57a926c4e4362a4e45627f4dc85146fabdb058
SIZE (latex-bibunits/bibunits.ins) = 1797

View File

@ -1,5 +0,0 @@
The `bibunits' package allows separate bibliographies for different
units or parts of the text. The units can be chapters, sections or
bibunit environments. The package is compatible with a wide variety of
packages, including, but not limited to, natbib, overcite and
KOMA-SCRIPT classes.

View File

@ -1,67 +0,0 @@
# New ports collection makefile for: latex-booktabs
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-booktabs
PORTVERSION= 1.618.20030328
PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/booktabs
DISTFILES= ${DOC_FILES} ${CLASS_FILES}
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for publication quality tables
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
NO_BUILD= YES
PLIST= ${WRKDIR}/pkg-plist
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/latex
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
CLASS_FILES= booktabs.dtx booktabs.ins booktabs.sty
DOC_FILES= booktabs.pdf
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
pre-install:
(for F in ${CLASS_FILES}; do \
${ECHO_CMD} "${CLASSDIR}/$${F}"; \
done;\
${ECHO_CMD} "@dirrm ${CLASSDIR}" ) > ${PLIST}
.if !defined(NOPORTDOCS)
(for F in ${DOC_FILES}; do \
${ECHO_CMD} "${DOCSDIR:S,^${PREFIX}/,,}/$${F}"; \
done;\
${ECHO_CMD} "@dirrm ${DOCSDIR:S,^${PREFIX}/,,}" ) >> ${PLIST}
.endif
${ECHO_CMD} "@exec ${MKTEXLSR}" >> ${PLIST}
${ECHO_CMD} "@unexec ${MKTEXLSR}" >> ${PLIST}
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${DISTDIR}/${DIST_SUBDIR}/@} ${DOCSDIR}
.endif
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,8 +0,0 @@
MD5 (latex-booktabs/booktabs.pdf) = 755d190f924af9d3b898c15a67b65a42
SIZE (latex-booktabs/booktabs.pdf) = 190495
MD5 (latex-booktabs/booktabs.dtx) = 1b48e8b965d9ac76e2899aaec5ae7591
SIZE (latex-booktabs/booktabs.dtx) = 41398
MD5 (latex-booktabs/booktabs.ins) = 684a0340272e5a0b68c5c8eda9b78b1f
SIZE (latex-booktabs/booktabs.ins) = 2027
MD5 (latex-booktabs/booktabs.sty) = fde7b309aac8a7d5a7aff663e89e829c
SIZE (latex-booktabs/booktabs.sty) = 6884

View File

@ -1,6 +0,0 @@
booktabs is to enable the easy production of tables such as should
appear in published scientific books and journals. What distinguishes
these from plain LaTeX tables is the default use of additional space
above and below rules, and rules of varying `thickness'. What further
distinguishes them from the tables many people do produce using LaTeX
is the absence of vertical rules and double rules.

View File

@ -1,69 +0,0 @@
# New ports collection makefile for: latex-index
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-index
PORTVERSION= 4.02.b.20040120
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/${PORTNAME:S/^latex-//}
DISTFILES= ${DOC_FILES} ${CLASS_FILES}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that reimplements LaTeX indexing macros
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
USE_GMAKE= YES
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/etex
YES_CMD= /usr/bin/yes
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_FILES= agsmtst.tex autind.sty autind.tex bibref.ist \
bibref.sty index.dtx index.ins plaintst.tex \
test.bib xagsm.bst xplain.bst
CLASS_ADD_FILES= index.sty sample.tex
DOC_FILES= README TODO index.pdf
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} index.ins
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} \
${CLASS_ADD_FILES:S@^@${WRKSRC}/@} \
${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
@${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,42 +0,0 @@
MD5 (latex-index/README) = 30a82b3dd3c15a528fc70782058c3aa3
SHA256 (latex-index/README) = ebd667fd8a8c8fca8d84627e907e1147221aaece5411deebacd129f8fb6a56f0
SIZE (latex-index/README) = 432
MD5 (latex-index/TODO) = 22319fca37fe6f66fd0ed67b79fc8dc8
SHA256 (latex-index/TODO) = 5affbf5d55e173437ebe862b4dd4b83d3fb83a6abd6e3ac01af2c06c1a88ee81
SIZE (latex-index/TODO) = 4724
MD5 (latex-index/index.pdf) = e6c027e96732be6313037d5a3ab05aff
SHA256 (latex-index/index.pdf) = 32833936fcca1955d41f6ad78ff0d7d6687ff032df24286a7f79399b39356abc
SIZE (latex-index/index.pdf) = 218990
MD5 (latex-index/agsmtst.tex) = 18fbb667a10011bc2b14fc37ddc69386
SHA256 (latex-index/agsmtst.tex) = cbaada6340f2dbda1d0b1e7219497a776080f212659454296bf4dacc0effc5b0
SIZE (latex-index/agsmtst.tex) = 627
MD5 (latex-index/autind.sty) = ee51f7ace5ed9bf764da986698778c8e
SHA256 (latex-index/autind.sty) = 36482bc9835701d42552e80dea15d2d8954ba02805c20b7d8295976002ea5926
SIZE (latex-index/autind.sty) = 2750
MD5 (latex-index/autind.tex) = 55d8f06b2bc31ebbdde6fec5049ab0f7
SHA256 (latex-index/autind.tex) = 98f47bd672e231184ba6dd96f1acf44e440afd55713745101e9821b9e0b94042
SIZE (latex-index/autind.tex) = 4497
MD5 (latex-index/bibref.ist) = 17928f86cfe7d69777db7b574288ddbb
SHA256 (latex-index/bibref.ist) = c8866f1bccac4840e7b9781e939494c7fc8774d1851d49643040578a7372d3f4
SIZE (latex-index/bibref.ist) = 215
MD5 (latex-index/bibref.sty) = 2f05570ed1e7f2559fa1335e949cc405
SHA256 (latex-index/bibref.sty) = d567fad76d358bd0e13946cdc886a418fde2c2723133eac199ccd3cdcb1bdae2
SIZE (latex-index/bibref.sty) = 3498
MD5 (latex-index/index.dtx) = a64a982de315bbff7205608464dd4b38
SHA256 (latex-index/index.dtx) = f0da9fadc2cff056cd54ca8e2d58cd50363d168dd377d89ae7e87a589bb1c816
SIZE (latex-index/index.dtx) = 50774
MD5 (latex-index/index.ins) = 63cadb5dd86e8bcbc3b08b356cebd218
SHA256 (latex-index/index.ins) = c622fb17d6a8caeee52cd74717194aa864b29287d881426572e8e8fab8e12336
SIZE (latex-index/index.ins) = 167
MD5 (latex-index/plaintst.tex) = 6075436a0440dd9262da1fe54b7e3b8f
SHA256 (latex-index/plaintst.tex) = 790c129afbb6cecf18ba843c0e115c864fd8ab3c462af0fc83d8a5cc701f75b9
SIZE (latex-index/plaintst.tex) = 717
MD5 (latex-index/test.bib) = 197a29e32c26a9d16d6ed02ac00c2a5f
SHA256 (latex-index/test.bib) = 5717e29420ced9b4a40dbab9d5eb0770fe19d7f34aa41268ff40ebda5edf2a94
SIZE (latex-index/test.bib) = 2842
MD5 (latex-index/xagsm.bst) = 6759309c660ce10c02c87eae8253cfd1
SHA256 (latex-index/xagsm.bst) = 235249859179685ba7311a0feafca6c7bba0653f8f4c19d5afcd7dbb262069ed
SIZE (latex-index/xagsm.bst) = 23637
MD5 (latex-index/xplain.bst) = b61233214d58dfd5e2ba452b1ca62a3e
SHA256 (latex-index/xplain.bst) = da3245c2a109db25b515880d540f78a03d820b108c960f60d3ca007e21890430
SIZE (latex-index/xplain.bst) = 20077

View File

@ -1,4 +0,0 @@
latex-index is a reimplementation of LaTeX's indexing macros
to provide better support for indexing in LaTeX. For example, it
supports multiple indexes in a single document and provides a
more robust \index command.

View File

@ -1,21 +0,0 @@
@comment $FreeBSD$
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/index.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%CLASSDIR%%/agsmtst.tex
%%CLASSDIR%%/autind.sty
%%CLASSDIR%%/autind.tex
%%CLASSDIR%%/bibref.ist
%%CLASSDIR%%/bibref.sty
%%CLASSDIR%%/index.dtx
%%CLASSDIR%%/index.ins
%%CLASSDIR%%/index.sty
%%CLASSDIR%%/plaintst.tex
%%CLASSDIR%%/sample.tex
%%CLASSDIR%%/test.bib
%%CLASSDIR%%/xagsm.bst
%%CLASSDIR%%/xplain.bst
@dirrm %%CLASSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%

View File

@ -1,62 +0,0 @@
# New ports collection makefile for: latex-layouts
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-layouts
PORTVERSION= 2.6.20041025
PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/layouts
DISTFILES= ${DOC_FILES} layouts.dtx layouts.ins
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= #empty
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for the display of layout elements
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/etex
YES_CMD= /usr/bin/yes
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_FILES= layouts.dtx layouts.ins layouts.sty
DOC_FILES= README layman.pdf layman.tex
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} layouts.ins
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,15 +0,0 @@
MD5 (latex-layouts/README) = 24a2a4b62dbbb4731866621ac0181efc
SHA256 (latex-layouts/README) = 368718445d5538d8d9642a3c56413d35e5496b8016c9cd0b4c55bfcdb2645360
SIZE (latex-layouts/README) = 3054
MD5 (latex-layouts/layman.pdf) = af9a8b3542f0862780a1c51fdc79503b
SHA256 (latex-layouts/layman.pdf) = 58a22ca23805dcd181918580bb061c2b6b1bd446e4a61a149f4460b781e060f4
SIZE (latex-layouts/layman.pdf) = 274438
MD5 (latex-layouts/layman.tex) = 3177ead5cd6833e36665d7d2f33e1f91
SHA256 (latex-layouts/layman.tex) = 52ff0e72ff4c549e41ee503baf526a6abb76473f5871eff6fea4f22b50876d54
SIZE (latex-layouts/layman.tex) = 81268
MD5 (latex-layouts/layouts.dtx) = cdbe9c1793afcc4ab876c3ee7adacd7b
SHA256 (latex-layouts/layouts.dtx) = 4c69f6c59eb501dbfbccbb1cc24facb6c6279980fb70d1330b4f647a20b5e0e4
SIZE (latex-layouts/layouts.dtx) = 171755
MD5 (latex-layouts/layouts.ins) = c20e1d693926a32fe0130ab2c9734769
SHA256 (latex-layouts/layouts.ins) = 37e853a97b7f7d91f7ac4fb2ce00e586c306d43b92aae4a4e211293f4570de6b
SIZE (latex-layouts/layouts.ins) = 2604

View File

@ -1,7 +0,0 @@
The layouts package enables the display of various elements of a
document's layout including: the general page layout; disposition
of floats; layout of paragraphs, lists, footnotes, table of contents,
and sectional headings; font boxes.
Facilities are provided for a document designer to experiment with
the layout parameters.

View File

@ -1,11 +0,0 @@
@comment $FreeBSD$
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/layman.pdf
%%PORTDOCS%%%%DOCSDIR%%/layman.tex
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%CLASSDIR%%/layouts.dtx
%%CLASSDIR%%/layouts.ins
%%CLASSDIR%%/layouts.sty
@dirrm %%CLASSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%

View File

@ -1,58 +0,0 @@
# New ports collection makefile for: latex-lineno
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-lineno
PORTVERSION= 4.1.20041026
PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/lineno
DISTFILES= ${CLASS_FILES} ${DOC_FILES}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that provides line numbers on paragraphs
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
NO_BUILD= yes
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_FILES= lineno.sty edtable.sty ednmath0.sty
DOC_FILES= README.txt CHANGES.txt \
ulineno.tex ulineno.pdf \
lineno.tex lineno.pdf
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
@${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,18 +0,0 @@
MD5 (latex-lineno/lineno.sty) = bd9c45d5bef98120342e173422320567
SIZE (latex-lineno/lineno.sty) = 128785
MD5 (latex-lineno/edtable.sty) = 1e9a1114481d3d34dee0c5d38ddf3971
SIZE (latex-lineno/edtable.sty) = 20173
MD5 (latex-lineno/ednmath0.sty) = caaf0dfb90b714a385c26221b67153dc
SIZE (latex-lineno/ednmath0.sty) = 7227
MD5 (latex-lineno/README.txt) = a3b330e8538081411474548f11dce82d
SIZE (latex-lineno/README.txt) = 6843
MD5 (latex-lineno/CHANGES.txt) = 0a364f8419478b6a2e1d11ad6baa0177
SIZE (latex-lineno/CHANGES.txt) = 618
MD5 (latex-lineno/ulineno.tex) = c8ea60c51da8ab4a8d85b55027302ee5
SIZE (latex-lineno/ulineno.tex) = 35658
MD5 (latex-lineno/ulineno.pdf) = da3962ed911c63193594d701ae87bcdd
SIZE (latex-lineno/ulineno.pdf) = 142217
MD5 (latex-lineno/lineno.tex) = 4b836f0931b592c6d837b9a3c628832e
SIZE (latex-lineno/lineno.tex) = 98695
MD5 (latex-lineno/lineno.pdf) = 2d82304187b1090bdfb62defb17c5f04
SIZE (latex-lineno/lineno.pdf) = 245492

View File

@ -1,4 +0,0 @@
The LaTeX package lineno.sty provides line numbers on paragraphs.
After TeX has broken a paragraph into lines there will be line numbers
attached to them, with the possibility to make references through the
LaTeX \ref, \pageref cross reference mechanism.

View File

@ -1,14 +0,0 @@
@comment $FreeBSD$
%%PORTDOCS%%%%DOCSDIR%%/README.txt
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
%%PORTDOCS%%%%DOCSDIR%%/lineno.tex
%%PORTDOCS%%%%DOCSDIR%%/lineno.pdf
%%PORTDOCS%%%%DOCSDIR%%/ulineno.tex
%%PORTDOCS%%%%DOCSDIR%%/ulineno.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%CLASSDIR%%/lineno.sty
%%CLASSDIR%%/edtable.sty
%%CLASSDIR%%/ednmath0.sty
@dirrm %%CLASSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%

View File

@ -1,57 +0,0 @@
# New ports collection makefile for: latex-pgf
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-pgf
PORTVERSION= 0.65
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= latex-beamer
DISTNAME= ${PORTNAME:S/^latex-//}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for TeX Portable Graphic Format
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
NO_BUILD= YES
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_FILES= pgf.sty pgfarrows.sty pgfautomata.sty pgfheaps.sty \
pgfnodes.sty pgfshade.sty xxcolor.sty
DOC_FILES= AUTHORS ChangeLog FILES INSTALL README TODO \
pgf-apple.jpg pgf-apple.mask.jpg \
pgfuserguide.pdf pgfuserguide.tex \
pgf-tu-logo.25.eps pgf-tu-logo.25.jpg \
pgf-tu-logo.eps pgf-tu-logo.jpg \
pgf-tu-logo.mask.jpg \
pgfuserguide.pdf pgfuserguide.tex
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (pgf-0.65.tar.gz) = 763cab72b1a46160da5e40b6892db6a1
SHA256 (pgf-0.65.tar.gz) = bfc66386e152ae15c002c394cd1016cb7a25b98b653682961469e578963c7dbd
SIZE (pgf-0.65.tar.gz) = 366809

View File

@ -1,8 +0,0 @@
pgf stands for `portable graphics format'. It is a TeX macro package
that allows you to create graphics in your TeX documents using a special
pgfpicture environment and special macros for drawing lines, curves,
rectangles, and many other kind of graphic objects.
Its usage closely resembles the pstricks package or the normal picture
environment of LaTeX.
WWW: http://latex-beamer.sourceforge.net/

View File

@ -1,26 +0,0 @@
@comment $FreeBSD$
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/FILES
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/pgf-apple.jpg
%%PORTDOCS%%%%DOCSDIR%%/pgf-apple.mask.jpg
%%PORTDOCS%%%%DOCSDIR%%/pgfuserguide.pdf
%%PORTDOCS%%%%DOCSDIR%%/pgfuserguide.tex
%%PORTDOCS%%%%DOCSDIR%%/pgf-tu-logo.25.eps
%%PORTDOCS%%%%DOCSDIR%%/pgf-tu-logo.25.jpg
%%PORTDOCS%%%%DOCSDIR%%/pgf-tu-logo.eps
%%PORTDOCS%%%%DOCSDIR%%/pgf-tu-logo.jpg
%%PORTDOCS%%%%DOCSDIR%%/pgf-tu-logo.mask.jpg
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%CLASSDIR%%/pgf.sty
%%CLASSDIR%%/pgfarrows.sty
%%CLASSDIR%%/pgfautomata.sty
%%CLASSDIR%%/pgfheaps.sty
%%CLASSDIR%%/pgfnodes.sty
%%CLASSDIR%%/pgfshade.sty
%%CLASSDIR%%/xxcolor.sty
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%

View File

@ -1,66 +0,0 @@
# New ports collection makefile for: latex-pict2e
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-pict2e
PORTVERSION= 0.2.20040806
PORTREVISION= 0
CATEGORIES= print
MASTER_SITES= ftp://ftp.ctan.org/tex-archive/%SUBDIR%/ \
${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= macros/latex/contrib/pict2e
DISTFILES= p2e-drivers.dtx pict2e.dtx pict2e.ins ${DOC_FILES}
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that extends the LaTeX picture environment
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
TEX_BIN= ${LOCALBASE}/bin/etex
YES_CMD= /usr/bin/yes
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_FILES= p2e-drivers.dtx p2e-dvipdfm.def p2e-dvips.def \
p2e-pctex32.def p2e-pctexps.def p2e-pdftex.def \
p2e-textures.def p2e-vtex.def \
pict2e-example.cfg pict2e.dtx pict2e.ins pict2e.sty \
pict2e.cfg
DOC_FILES= README pict2e.pdf p2e-drivers.pdf
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-extract:
${MKDIR} ${WRKSRC}
cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}
do-build:
cd ${WRKSRC} && ${YES_CMD} | ${TEX_BIN} pict2e.ins
${CP} ${WRKSRC}/pict2e-example.cfg ${WRKSRC}/pict2e.cfg
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
@${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
MD5 (latex-pict2e/p2e-drivers.dtx) = dd62515dec2a22a43248dfcad45575b3
SIZE (latex-pict2e/p2e-drivers.dtx) = 14241
MD5 (latex-pict2e/pict2e.dtx) = 2249e2a781d47c1f81d476f7d3dac299
SIZE (latex-pict2e/pict2e.dtx) = 110139
MD5 (latex-pict2e/pict2e.ins) = e20a5d2722c17cc31922943c57ceb45c
SIZE (latex-pict2e/pict2e.ins) = 3023
MD5 (latex-pict2e/README) = cf0f6dd65be2582c4a4f8301e335ef30
SIZE (latex-pict2e/README) = 1650
MD5 (latex-pict2e/pict2e.pdf) = 650359d116d4d9504e054fd2d2ddafd8
SIZE (latex-pict2e/pict2e.pdf) = 234432
MD5 (latex-pict2e/p2e-drivers.pdf) = e958393a10b826b2a998ad52c8890a55
SIZE (latex-pict2e/p2e-drivers.pdf) = 118876

View File

@ -1,5 +0,0 @@
The pict2e package extends the existing LaTeX picture environment, using
the familiar technique (cf. the graphics and color packages) of driver
files. The package documentation (pict2e.dtx) has a fair number of
examples of use, showing where things are improved by comparison with
the LaTeX picture environment.

View File

@ -1,21 +0,0 @@
@comment $FreeBSD$
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/pict2e.pdf
%%PORTDOCS%%%%DOCSDIR%%/p2e-drivers.pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%CLASSDIR%%/p2e-drivers.dtx
%%CLASSDIR%%/p2e-dvipdfm.def
%%CLASSDIR%%/p2e-dvips.def
%%CLASSDIR%%/p2e-pctex32.def
%%CLASSDIR%%/p2e-pctexps.def
%%CLASSDIR%%/p2e-pdftex.def
%%CLASSDIR%%/p2e-textures.def
%%CLASSDIR%%/p2e-vtex.def
%%CLASSDIR%%/pict2e-example.cfg
%%CLASSDIR%%/pict2e.dtx
%%CLASSDIR%%/pict2e.ins
%%CLASSDIR%%/pict2e.sty
%%CLASSDIR%%/pict2e.cfg
@dirrm %%CLASSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%

View File

@ -1,56 +0,0 @@
# New ports collection makefile for: latex-subfig
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-subfig
PORTVERSION= 1.1.20040112
PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= http://www.cs.cmu.edu/afs/cs/usr/sdc/www/latex/
DISTNAME= subfig.11
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package that supports small "sub" figures/tables
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
${STY_CAPTION}:${PORTSDIR}/print/latex-caption
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal \
${STY_CAPTION}:${PORTSDIR}/print/latex-caption
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR} \
CLASSDIR=${CLASSDIR}
USE_GMAKE= YES
ALL_TARGET= sty
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
STY_CAPTION= ${LOCALBASE}/${TEXMFLOCAL}/tex/latex/caption/caption.sty
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_FILES= subfig.dtx subfig.ins subfig.sty subfig.cfg
DOC_FILES= README test1.tex test2.tex test3.tex \
test4.tex test5.tex test6.tex
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${DOC_FILES:S@^@${WRKSRC}/@} ${DOCSDIR}
.endif
post-install:
@${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (subfig.11.tar.gz) = e8c20d10936fd6bf194d11f29c028ea1
SHA256 (subfig.11.tar.gz) = 3d6dbfde520c4331c784eb08add1a24dd598bf8807d35d97c8ac18aaaea68ffc
SIZE (subfig.11.tar.gz) = 44063

View File

@ -1,12 +0,0 @@
Subfig Style:
This is a LaTeX package that supports the inclusion of small "sub" figures
and tables. It simplifies the positioning, captioning and labeling of them
within a single figure or table environment.
The subfig package replaces the older subfigure package, but is not
completely backward compatible with it. Therefore the name has changed to
insure that the older package will remain around awhile, however the use of
the older subfigure package is discouraged.
WWW: http://www-2.cs.cmu.edu/afs/cs/usr/sdc/www/latex/subfigure.html

View File

@ -1,16 +0,0 @@
@comment $FreeBSD$
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/test1.tex
%%PORTDOCS%%%%DOCSDIR%%/test2.tex
%%PORTDOCS%%%%DOCSDIR%%/test3.tex
%%PORTDOCS%%%%DOCSDIR%%/test4.tex
%%PORTDOCS%%%%DOCSDIR%%/test5.tex
%%PORTDOCS%%%%DOCSDIR%%/test6.tex
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%CLASSDIR%%/subfig.dtx
%%CLASSDIR%%/subfig.ins
%%CLASSDIR%%/subfig.sty
%%CLASSDIR%%/subfig.cfg
@dirrm %%CLASSDIR%%
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%

View File

@ -1,44 +0,0 @@
# New ports collection makefile for: latex-xcolor
# Date created: 24 Jan 2004
# Whom: hrs@FreeBSD.org
#
# $FreeBSD$
PORTNAME= latex-xcolor
PORTVERSION= 2.00
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= latex-beamer
DISTNAME= ${PORTNAME:S/^latex-//}-${PORTVERSION}
MAINTAINER= hrs@FreeBSD.org
COMMENT= A LaTeX package for driver-independent color extensions
BUILD_DEPENDS= mktexlsr:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
RUN_DEPENDS= latex:${PORTSDIR}/print/teTeX-base \
${TEXMFLOCAL_LSR}:${PORTSDIR}/print/tex-texmflocal
NO_BUILD= YES
PLIST_SUB= MKTEXLSR=${MKTEXLSR} CLASSDIR=${CLASSDIR}
TEXMFLOCAL= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCAL}/ls-R
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
CLASSDIR= ${TEXMFLOCAL}/tex/latex/${PORTNAME:S/^latex-//}
WRKSRC= ${WRKDIR}/${PORTNAME:S/^latex-//}
CLASS_FILES= xcolor.dtx xcolor.ins xcolor.sty
IGNORE= is already included in the teTeX distribution
DEPRECATED= ${IGNORE}
EXPIRATION_DATE=2006-12-01
do-install:
${MKDIR} ${PREFIX}/${CLASSDIR}
${INSTALL_DATA} ${CLASS_FILES:S@^@${WRKSRC}/@} ${PREFIX}/${CLASSDIR}
post-install:
${MKTEXLSR}
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (xcolor-2.00.tar.gz) = f8960a11271fa9d7bfa352966916553f
SHA256 (xcolor-2.00.tar.gz) = 7ff242d166bbcf291691144c826adce2a80ea4e32a67be64607ceaae03554c16
SIZE (xcolor-2.00.tar.gz) = 68129

View File

@ -1,7 +0,0 @@
`xcolor' provides easy driver-independent access to several kinds of
color tints, shades, tones, and mixes of arbitrary colors.
It allows to select a document-wide target color model and offers tools
for automatic color schemes, conversion between eight color models,
and alternating table row colors.
WWW: http://latex-beamer.sourceforge.net/

View File

@ -1,6 +0,0 @@
@comment $FreeBSD$
%%CLASSDIR%%/xcolor.dtx
%%CLASSDIR%%/xcolor.ins
%%CLASSDIR%%/xcolor.sty
@exec %%MKTEXLSR%%
@unexec %%MKTEXLSR%%