summaryrefslogtreecommitdiff
path: root/lang/hugs
diff options
context:
space:
mode:
authortron <tron>1998-04-03 22:11:43 +0000
committertron <tron>1998-04-03 22:11:43 +0000
commitc290e4541f029fdbe76ba20ee492246826f38fca (patch)
tree32a39aec2b8b198de4a5c49614d732128d6778ee /lang/hugs
parente748f556913fe03b597eac635d8bea303272ad11 (diff)
downloadpkgsrc-c290e4541f029fdbe76ba20ee492246826f38fca.tar.gz
Solve problem with "configure" target in a more future compatible way.
Diffstat (limited to 'lang/hugs')
-rw-r--r--lang/hugs/Makefile15
-rwxr-xr-xlang/hugs/files/configure3
2 files changed, 8 insertions, 10 deletions
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 <bsd.port.mk>
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 $*