summaryrefslogtreecommitdiff
path: root/emulators/hercules/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2012-03-25 05:27:42 +0000
committerryoon <ryoon@pkgsrc.org>2012-03-25 05:27:42 +0000
commit6e13e40ce4a0e3c912b8408b9e3947787c65b5f5 (patch)
treea60dd0805aa72e1b3b89aa48627f5e8078231542 /emulators/hercules/Makefile
parent46c7d3d7ad4a40873fec4b9db2f61f55bf1cac4a (diff)
downloadpkgsrc-6e13e40ce4a0e3c912b8408b9e3947787c65b5f5.tar.gz
Fix build on DragonFly 3.0.1
* Use autoconf on pre-configure stage, remove patch for configure * Modify autoconf macro (treat DragonFly as recent FreeBSD)
Diffstat (limited to 'emulators/hercules/Makefile')
-rw-r--r--emulators/hercules/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/emulators/hercules/Makefile b/emulators/hercules/Makefile
index d5a71506b6d..7b7f5964cee 100644
--- a/emulators/hercules/Makefile
+++ b/emulators/hercules/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2011/07/04 21:37:34 dholland Exp $
+# $NetBSD: Makefile,v 1.27 2012/03/25 05:27:42 ryoon Exp $
DISTNAME= hercules-3.07
PKGREVISION= 1
@@ -14,7 +14,8 @@ PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= hercules-images-[0-9]*:../../emulators/hercules-images
-USE_TOOLS+= gmake bash:run
+AUTOCONF_REQD= 2.50
+USE_TOOLS+= autoconf gmake bash:run
GNU_CONFIGURE= YES
#MAKE_ENV+= HOST_ARCH=${MACHINE_ARCH:Q}
USE_LIBTOOL= YES
@@ -30,6 +31,7 @@ INSTALLATION_DIRS+= bin share/examples/hercules
pre-configure:
${RM} ${WRKSRC}/ltdl.h ${WRKSRC}/ltdl.c
+ cd ${WRKSRC} && autoconf
pre-install:
${INSTALL_DATA} ${WRKSRC}/hercules.cnf ${DESTDIR}${PREFIX}/share/examples/hercules/
# ${INSTALL_DATA} ${WRKSRC}/zzsa.cnf ${DESTDIR}${PREFIX}/share/examples/hercules/