aboutsummaryrefslogtreecommitdiffstats
path: root/net/dgd
diff options
context:
space:
mode:
authoradam <adam@FreeBSD.org>1994-10-19 23:31:19 +0800
committeradam <adam@FreeBSD.org>1994-10-19 23:31:19 +0800
commit473a30c50b3c65125ff2beef36e17eb74990dedf (patch)
tree3ce62b8b0cf7f344021dd522326b4861fef1c71a /net/dgd
parentb03396c7aead1be7f6b7f0a0acba47324794b1a5 (diff)
downloadfreebsd-ports-gnome-473a30c50b3c65125ff2beef36e17eb74990dedf.tar.gz
freebsd-ports-gnome-473a30c50b3c65125ff2beef36e17eb74990dedf.tar.zst
freebsd-ports-gnome-473a30c50b3c65125ff2beef36e17eb74990dedf.zip
Minor tidy up
Diffstat (limited to 'net/dgd')
-rw-r--r--net/dgd/files/patch-aa26
-rw-r--r--net/dgd/scripts/configure11
2 files changed, 17 insertions, 20 deletions
diff --git a/net/dgd/files/patch-aa b/net/dgd/files/patch-aa
index eee6403210ab..88875367e1c0 100644
--- a/net/dgd/files/patch-aa
+++ b/net/dgd/files/patch-aa
@@ -1,7 +1,7 @@
*** Makefile.old Sat Jul 16 13:28:40 1994
--- Makefile Thu Aug 25 10:20:32 1994
***************
-*** 1,13 ****
+*** 1,14 ****
#
# Makefile for DGD, Dworkin's Game Driver
#
@@ -12,10 +12,11 @@
CFLAGS= -I. -Icomp -Ilex -Ied -Ikfun $(CCFLAGS)
! LDFLAGS=
! LIBS=
- CC= gcc
+! CC= gcc
LD= $(CC)
DMAKE= make
---- 1,15 ----
+ BIN= ../bin
+--- 1,16 ----
#
# Makefile for DGD, Dworkin's Game Driver
#
@@ -28,20 +29,27 @@
! LDFLAGS= -s
! #LDFLAGS=
! LIBS= -lcrypt
- CC= gcc
+! CC= cc
LD= $(CC)
DMAKE= make
+ BIN= ../bin
***************
-*** 20,25 ****
---- 22,29 ----
+*** 20,26 ****
COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \
interpret.o config.o
-+ all: a.out
-+
- a.out: $(OBJ)
+! a.out: $(OBJ) always
cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
cd lex; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+ cd ed; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+--- 20,26 ----
+ COMPOBJ=alloc.o error.o hash.o path.o str.o array.o object.o data.o \
+ interpret.o config.o
+
+! a.out all: $(OBJ) always
+ cd comp; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+ cd lex; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
+ cd ed; $(MAKE) 'DMAKE=$(DMAKE)' 'CC=$(CC)' 'CCFLAGS=$(CCFLAGS)' dgd
***************
*** 50,56 ****
diff --git a/net/dgd/scripts/configure b/net/dgd/scripts/configure
index e6a5e9eb98d8..c65e336baf62 100644
--- a/net/dgd/scripts/configure
+++ b/net/dgd/scripts/configure
@@ -1,14 +1,3 @@
#!/bin/sh
#
-if [ $# -ne 3 ]; then
- echo "This script should only be run by the Makefile."
- exit 1
-fi
-
-# First arg is top level ports directory, second is current directory,
-# third is the directory containing the dist.
-#
-PDIR=$1
-CDIR=$2
-WDIR=$3