aboutsummaryrefslogtreecommitdiff
path: root/mbone/nte/Makefile
diff options
context:
space:
mode:
authorJacques Vidrine <nectar@FreeBSD.org>1998-11-24 18:39:02 +0000
committerJacques Vidrine <nectar@FreeBSD.org>1998-11-24 18:39:02 +0000
commite71432823132cd1a8f2938e70040679ecf141769 (patch)
treeec138e3c2c5ee54243738d11708467d657a6d3f0 /mbone/nte/Makefile
parent11deadb4286c9d4a902bf5428a8a76dc8a817b76 (diff)
downloadports-e71432823132cd1a8f2938e70040679ecf141769.tar.gz
ports-e71432823132cd1a8f2938e70040679ecf141769.zip
Notes
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>