summaryrefslogtreecommitdiff
path: root/textproc/yodl
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-10 10:05:03 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>1999-01-10 10:05:03 +0000
commit23480501b5eb1428f9f8a5a14e26c677d77351e6 (patch)
treeadc58d205a590e2cece3eb35cb60d9f839a47304 /textproc/yodl
parentAllow vat & vic to run with tcl8.0.4. (diff)
Respect system CFLAGS. (remove -m486 for alpha)
Notes
Notes: svn path=/head/; revision=15953
Diffstat (limited to 'textproc/yodl')
-rw-r--r--textproc/yodl/Makefile6
-rw-r--r--textproc/yodl/files/patch-aa2
2 files changed, 4 insertions, 4 deletions
diff --git a/textproc/yodl/Makefile b/textproc/yodl/Makefile
index 0cf8c6c722e1..d2339fc17aee 100644
--- a/textproc/yodl/Makefile
+++ b/textproc/yodl/Makefile
@@ -3,7 +3,7 @@
# Date created: 22 Oct 1997
# Whom: Donald Burr <dburr@FreeBSD.ORG>
#
-# $Id$
+# $Id: Makefile,v 1.1.1.1 1998/07/20 23:55:33 dburr Exp $
#
DISTNAME= yodl-1.22
@@ -29,8 +29,8 @@ MAN7= yodlmacros.7 \
yodlmanpage.7
do-build:
- (cd ${WRKSRC} && ${GMAKE} PREFIX=${PREFIX} progs)
- (cd ${WRKSRC}/misc && gcc -O2 -m486 -s -o striproff striproff.c)
+ (cd ${WRKSRC} && env CFLAGS="${CFLAGS}" ${GMAKE} PREFIX=${PREFIX} progs)
+ (cd ${WRKSRC}/misc && gcc ${CFLAGS} -s -o striproff striproff.c)
# this weird contortion is because the YODL makefile is broken
# trust me, it works.
diff --git a/textproc/yodl/files/patch-aa b/textproc/yodl/files/patch-aa
index 556334bf1add..0dd2466b0d31 100644
--- a/textproc/yodl/files/patch-aa
+++ b/textproc/yodl/files/patch-aa
@@ -39,7 +39,7 @@
# Compiler flags?
-CFLAGS = -g -c -Wall
-+CFLAGS = -O2 -m486 -c -Wall
++CFLAGS += -c -Wall
# Installation program? If you don't have install, make sure that you state
# something that also strips executables.