summaryrefslogtreecommitdiff
path: root/print/teTeX/Makefile
diff options
context:
space:
mode:
authorfrueauf <frueauf@pkgsrc.org>1998-05-06 12:52:07 +0000
committerfrueauf <frueauf@pkgsrc.org>1998-05-06 12:52:07 +0000
commitc7973e0ad42ad4885882b4d822ce2664bbce90de (patch)
tree00ded97d4c8b36e5065724213b79c45c7613d07e /print/teTeX/Makefile
parent28382d138c93b00f771bd584549bec5e32b33c3f (diff)
downloadpkgsrc-c7973e0ad42ad4885882b4d822ce2664bbce90de.tar.gz
Use user defined CFLAGS, based on pr 5255 and fixes it.
Diffstat (limited to 'print/teTeX/Makefile')
-rw-r--r--print/teTeX/Makefile6
1 files changed, 5 insertions, 1 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