aboutsummaryrefslogtreecommitdiff
path: root/mbone/nte/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mbone/nte/Makefile')
-rw-r--r--mbone/nte/Makefile16
1 files changed, 3 insertions, 13 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>