aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>1999-01-10 18:05:03 +0800
committersimokawa <simokawa@FreeBSD.org>1999-01-10 18:05:03 +0800
commit999147090012dc48f37ed3fe4f343aec682c5272 (patch)
treea0d211449637a57113497967fe666e7503574aec /textproc
parent4ec8e7110cba07102bd29c791d1bdc6d1beb58e2 (diff)
downloadfreebsd-ports-gnome-999147090012dc48f37ed3fe4f343aec682c5272.tar.gz
freebsd-ports-gnome-999147090012dc48f37ed3fe4f343aec682c5272.tar.zst
freebsd-ports-gnome-999147090012dc48f37ed3fe4f343aec682c5272.zip
Respect system CFLAGS. (remove -m486 for alpha)
Diffstat (limited to 'textproc')
-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.