From f1719ce738e824ae4915a34f08fa3b11b5874c91 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 3 Apr 1998 22:11:43 +0000 Subject: Solve problem with "configure" target in a more future compatible way. --- lang/hugs/Makefile | 15 +++++---------- lang/hugs/files/configure | 3 +++ 2 files changed, 8 insertions(+), 10 deletions(-) create mode 100755 lang/hugs/files/configure diff --git a/lang/hugs/Makefile b/lang/hugs/Makefile index 56bbe4d43b5..49a80ea3c29 100644 --- a/lang/hugs/Makefile +++ b/lang/hugs/Makefile @@ -3,7 +3,7 @@ # Date created: 22-Mar-98 # Whom: nathanw@mit.edu # -# $NetBSD: Makefile,v 1.1 1998/04/03 21:14:22 tron Exp $ +# $NetBSD: Makefile,v 1.2 1998/04/03 22:11:43 tron Exp $ DISTNAME= hugs-January1998-source PKGNAME= hugs-1.4 @@ -17,15 +17,10 @@ MAINTAINER= nathanw@mit.edu WRKSRC= ${WRKDIR}/hugs/src GNU_CONFIGURE= yes ALL_TARGET= default +MAKE_ENV= INSTALL="${INSTALL}" INSTALL_DATA="${INSTALL_DATA}" \ + INSTALL_PROGRAM="${INSTALL_PROGRAM}" -# The hugs distribution puts configure and friends in a subdirectory -# below the sources, and insists that configure be run from that directory, -# which is awkward for bsd.port.mk. -do-configure: - @(cd ${WRKSRC}/unix && CC="${CC}" ac_cv_path_CC="${CC}" \ - CFLAGS="${CFLAGS}" \ - INSTALL="${INSTALL_DATA}" \ - INSTALL_PROGRAM="${INSTALL_PROGRAM}" \ - ${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}) +post-extract: + @${LN} -s ${FILESDIR}/configure ${WRKSRC} .include diff --git a/lang/hugs/files/configure b/lang/hugs/files/configure new file mode 100755 index 00000000000..b36a0611487 --- /dev/null +++ b/lang/hugs/files/configure @@ -0,0 +1,3 @@ +#!/bin/sh +cd unix +exec ./configure $* -- cgit v1.2.3