summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/xshogi/files/patch-aa2
-rw-r--r--textproc/yodl/Makefile6
-rw-r--r--textproc/yodl/files/patch-aa2
3 files changed, 5 insertions, 5 deletions
diff --git a/games/xshogi/files/patch-aa b/games/xshogi/files/patch-aa
index 73f6f2e7f344..66e690dc56b6 100644
--- a/games/xshogi/files/patch-aa
+++ b/games/xshogi/files/patch-aa
@@ -28,7 +28,7 @@
# This is for cc on SunOS with debug
-CCOPTIONS= -g -I/usr/include
-LDOPTIONS= -L/usr/lib -lXaw -lXmu -lXt -lXext -lX11
-+CCOPTIONS= -g -O2 -m486 -pipe -fno-strength-reduce \
++CCOPTIONS= -g ${CFLAGS} -fno-strength-reduce \
+ -I/usr/include -I$(PREFIX)/include
+LDOPTIONS= -L/usr/lib -L$(PREFIX)/lib -lXaw -lXmu -lXt -lXext -lX11
+.if ${PORTOBJFORMAT} == "elf"
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.