aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1998-11-25 02:39:02 +0800
committernectar <nectar@FreeBSD.org>1998-11-25 02:39:02 +0800
commitd0ad5104e884cb4236b6006e2b97c5a9971803b4 (patch)
treec250bab03ef743096bf577be5cdff37efe9ba5a6
parent09b1cd87774478ff7ea4b5e8b0fa4eddd81861e3 (diff)
downloadfreebsd-ports-gnome-d0ad5104e884cb4236b6006e2b97c5a9971803b4.tar.gz
freebsd-ports-gnome-d0ad5104e884cb4236b6006e2b97c5a9971803b4.tar.zst
freebsd-ports-gnome-d0ad5104e884cb4236b6006e2b97c5a9971803b4.zip
Fix for building on 3.0
-rw-r--r--mbone/nte/Makefile16
-rw-r--r--mbone/nte/files/Makefile.freebsd5
-rw-r--r--mbone/nte/files/patch-ab15
3 files changed, 18 insertions, 18 deletions
diff --git a/mbone/nte/Makefile b/mbone/nte/Makefile
index d09cac74ea07..0846fec149af 100644
--- a/mbone/nte/Makefile
+++ b/mbone/nte/Makefile
@@ -3,7 +3,7 @@
# Date created: 5 September 1996
# Whom: Bill Fenner <fenner@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.11 1998/09/21 23:39:42 fenner Exp $
+# $Id: Makefile,v 1.12 1998/09/25 10:05:11 asami Exp $
#
DISTNAME= nte-1.5a29
@@ -20,16 +20,6 @@ RESTRICTED= "Contains DES encryption"
USE_GMAKE= yes
USE_X_PREFIX= yes
-.include <bsd.port.mk>
-
-#DISGUSTING HACK ALERT
-#Although nte includes an hsearch.c for those who don't have it in
-# libc, there's no way to get the default Makefile to build it.
-# So we build it here.
-#This is below the .include <bsd.port.mk> since variable names in
-# targets or dependencies are evaluated when they are read so
-# bsd.port.mk must have defined ${WRKSRC} already.
-pre-build: ${WRKSRC}/freebsd/hsearch.o
+MAKE_ENV= LOCALBASE="${LOCALBASE}"
-${WRKSRC}/freebsd/hsearch.o: ${WRKSRC}/src/hsearch.c
- ${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ${WRKSRC}/src/hsearch.c
+.include <bsd.port.mk>
diff --git a/mbone/nte/files/Makefile.freebsd b/mbone/nte/files/Makefile.freebsd
index 8b266887f425..1f02b96499d7 100644
--- a/mbone/nte/files/Makefile.freebsd
+++ b/mbone/nte/files/Makefile.freebsd
@@ -6,7 +6,8 @@ CFLAGS+=-ggdb $(INCLUDES) -DFREEBSD -DPROTOTYPES -DHAVE_NO_VALUES_H -DHAVE_LIMIT
# for search.h
CFLAGS+=-I../src
-OBJS+=hsearch.o
+hsearch.o: ../src/hsearch.c
+ ${CC} -I${WRKSRC}/src ${CFLAGS} -c -o $@ ../src/hsearch.c
install: all
- install -c -s -m 755 -o bin -g bin nt ${PREFIX}/bin
+ install -c -s -m 755 -o bin -g bin nte ${PREFIX}/bin
diff --git a/mbone/nte/files/patch-ab b/mbone/nte/files/patch-ab
index 74faff7e68cb..9a1ab8b79a35 100644
--- a/mbone/nte/files/patch-ab
+++ b/mbone/nte/files/patch-ab
@@ -1,6 +1,15 @@
---- src/Makefile.template.orig Thu Oct 31 14:35:42 1996
-+++ src/Makefile.template Thu Oct 31 14:36:23 1996
-@@ -168,13 +168,13 @@
+--- src/Makefile.template.orig Fri Jul 31 07:51:31 1998
++++ src/Makefile.template Sun Nov 22 10:28:13 1998
+@@ -3,7 +3,7 @@
+ protocol.o network_write.o network_read.o ds_fns.o parse_packet.o ids.o \
+ sliding_key.o rtx.o missing.o participants.o bitmaps.o \
+ recent.o nt_ui.o generic_tcl.o libs.o www_ui.o www_fns.o nt_help.o \
+- save_struct.o iohandler.o libqfDES.a debug.o canvas_ext.o font_ext.o
++ save_struct.o iohandler.o libqfDES.a debug.o canvas_ext.o font_ext.o hsearch.o
+ ENCOBJS=crypt.o md5c.o random.o
+ QFDES=qfDES.o qfDES-memory.o qfDES-key.o
+ QFINCLUDES=-I../src/qfdes
+@@ -172,13 +172,13 @@
$(CC) $(CFLAGS) -c libs.c
../src/help/blocks.ehtml: text2html ../src/help/blocks.html