Convert to USES=autoreconf.
This commit is contained in:
parent
37181e442d
commit
eb2b611bbf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457385
2 changed files with 3 additions and 19 deletions
|
@ -15,12 +15,12 @@ LICENSE_FILE= ${WRKSRC}/Copying.txt
|
|||
|
||||
CONFLICTS= mldonkey{-{core,gui},}-devel-[0-9]*
|
||||
|
||||
USES= iconv tar:bzip2 gmake
|
||||
USE_AUTOTOOLS= autoconf:env
|
||||
USES= autoreconf iconv tar:bzip2 gmake
|
||||
USE_OCAML= yes
|
||||
USE_OCAML_CAMLP4=yes
|
||||
GNU_CONFIGURE= yes
|
||||
ALL_TARGET= opt
|
||||
AUTORECONF_WRKSRC= ${WRKSRC}/config
|
||||
MAKE_ENV+= OCAMLRUNPARAM="l=256M"
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
|
@ -105,13 +105,11 @@ post-patch:
|
|||
-e "s|%%SH%%|${SH}|" \
|
||||
${FILESDIR}/wrapper.sh > \
|
||||
${WRKDIR}/wrapper.sh
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's|%%AUTOCONF%%|${AUTOCONF}|' \
|
||||
${BUILD_WRKSRC}/config/Makefile.in
|
||||
@${REINPLACE_CMD} -E \
|
||||
-e 's@(\+)(lablgtk2)@\1site-lib/\2@' \
|
||||
-e 's@(\+)(labl\$$\(GTK\))@\1site-lib/\2@' \
|
||||
-e 's@(OCAMLLIB/)(\$$LABLGTK_NAME)@\1site-lib/\2@' \
|
||||
-e 's@(AC_DEFINE\([^,]*,[^,]*,)\)@\1 desc)@' \
|
||||
${WRKSRC}/config/configure.in \
|
||||
${WRKSRC}/config/Makefile.in
|
||||
@${REINPLACE_CMD} -E \
|
||||
|
@ -124,9 +122,6 @@ post-patch:
|
|||
${WRKSRC}/src/daemon/common/commonOptions.ml \
|
||||
${WRKSRC}/src/networks/donkey/donkeyServers.ml
|
||||
|
||||
pre-configure:
|
||||
@cd ${WRKSRC}/config && ${AUTOCONF}
|
||||
|
||||
do-install:
|
||||
.if ${PORT_OPTIONS:MCORE}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/mld_hash ${STAGEDIR}${PREFIX}/bin
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
--- config/Makefile.in.orig Tue Apr 26 22:48:10 2005
|
||||
+++ config/Makefile.in Tue Apr 26 22:48:41 2005
|
||||
@@ -285,7 +285,7 @@
|
||||
all: Makefile config/Makefile.config $(TARGET_TYPE)
|
||||
|
||||
config/configure: config/configure.in
|
||||
- cd config; autoconf
|
||||
+ cd config; %%AUTOCONF%%
|
||||
|
||||
ifeq ("$(MYCONFIG_ARGS_DEFINED)" , "yes")
|
||||
|
Loading…
Reference in a new issue