pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Automatically generate the "configure" script



Module Name:	pkgsrc-wip
Committed By:	Pierre Pronchery <khorben%defora.org@localhost>
Pushed By:	khorben
Date:		Thu Sep 21 01:38:36 2017 +0200
Changeset:	e52d9b25c9af7b8cac75137eb5052a8052a79919

Modified Files:
	cpuminer/Makefile

Log Message:
Automatically generate the "configure" script

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e52d9b25c9af7b8cac75137eb5052a8052a79919

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 cpuminer/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diffs:
diff --git a/cpuminer/Makefile b/cpuminer/Makefile
index 42e5db4d90..ad4c656f75 100644
--- a/cpuminer/Makefile
+++ b/cpuminer/Makefile
@@ -14,6 +14,7 @@ GITHUB_PROJECT=	cpuminer
 GITHUB_TAG=	v${PKGVERSION_NOREV}
 
 GNU_CONFIGURE=	yes
+USE_TOOLS+=	autoconf autoheader automake
 
 RCD_SCRIPTS=	minerd
 
@@ -22,6 +23,9 @@ CONF_FILES+=	${PREFIX}/share/examples/cpuminer/minerd.conf \
 
 INSTALLATION_DIRS+=	share/examples/cpuminer
 
+pre-configure:
+	cd ${WRKSRC} && ${SH} ./autogen.sh
+
 post-install:
 	${INSTALL_DATA} ${FILESDIR}/minerd.conf \
 		${DESTDIR}${PREFIX}/share/examples/cpuminer


Home | Main Index | Thread Index | Old Index