diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-05-06 12:52:07 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-05-06 12:52:07 +0000 |
commit | c7973e0ad42ad4885882b4d822ce2664bbce90de (patch) | |
tree | 00ded97d4c8b36e5065724213b79c45c7613d07e /print/teTeX | |
parent | 28382d138c93b00f771bd584549bec5e32b33c3f (diff) | |
download | pkgsrc-c7973e0ad42ad4885882b4d822ce2664bbce90de.tar.gz |
Use user defined CFLAGS, based on pr 5255 and fixes it.
Diffstat (limited to 'print/teTeX')
-rw-r--r-- | print/teTeX/Makefile | 6 | ||||
-rw-r--r-- | print/teTeX/patches/patch-aa | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/print/teTeX/Makefile b/print/teTeX/Makefile index cf6868f501d..c248117a50e 100644 --- a/print/teTeX/Makefile +++ b/print/teTeX/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 1998/04/22 11:05:04 agc Exp $ +# $NetBSD: Makefile,v 1.10 1998/05/06 12:52:07 frueauf Exp $ # FreeBSD Id: Makefile,v 1.20 1997/08/05 06:56:41 tg Exp # @@ -34,6 +34,10 @@ TETEX_SRC= teTeX-src-0.4pl7.tar.gz TETEX_LIB= teTeX-lib-0.4pl8.tar.gz WRKLIB= ${WRKDIR}/teTeX +.if defined(CFLAGS) && ${CFLAGS} == "-O" +CFLAGS= -O2 +.endif + pre-install: @${RM} -f ${PREFIX}/share/texmf/ls-R @chown -R bin:bin ${WRKLIB}/info ${WRKLIB}/man diff --git a/print/teTeX/patches/patch-aa b/print/teTeX/patches/patch-aa index 80779955374..1dbeeffaeda 100644 --- a/print/teTeX/patches/patch-aa +++ b/print/teTeX/patches/patch-aa @@ -9,7 +9,7 @@ # the following should be best for a pentium # -O2 -s -m486 -malign-jumps=2 -malign-loops=2 -malign-functions=2 -CFLAGS = -O2 -+CFLAGS = -O2 -pipe -DHAVE_EXTERN_SYS_ERRLIST=1 ++CFLAGS := $(CFLAGS) -pipe -DHAVE_EXTERN_SYS_ERRLIST=1 # For "real" 64bit OS, e.g. Digital Unix 4.0. Irix6?, use: # CFLAGS += -DPOINTER_IS_NOT_INT |