summaryrefslogtreecommitdiffstats
path: root/textproc/yodl
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>1999-01-10 10:05:03 +0000
committersimokawa <simokawa@FreeBSD.org>1999-01-10 10:05:03 +0000
commit999147090012dc48f37ed3fe4f343aec682c5272 (patch)
treea0d211449637a57113497967fe666e7503574aec /textproc/yodl
parent4ec8e7110cba07102bd29c791d1bdc6d1beb58e2 (diff)
downloadFreeBSD-ports-999147090012dc48f37ed3fe4f343aec682c5272.zip
FreeBSD-ports-999147090012dc48f37ed3fe4f343aec682c5272.tar.gz
Respect system CFLAGS. (remove -m486 for alpha)
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 0cf8c6c..d2339fc 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 556334b..0dd2466 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.
OpenPOWER on IntegriCloud