diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2017-12-27 19:41:07 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2017-12-27 19:41:07 +0000 |
commit | eb2b611bbf709a33d1d39daacda2848f11567276 (patch) | |
tree | 72e09245b06e15760af1f945636234782c518de5 /net-p2p/mldonkey | |
parent | 37181e442d5b4ca7885b27a8e0f1ca31663e8470 (diff) | |
download | ports-eb2b611bbf709a33d1d39daacda2848f11567276.tar.gz ports-eb2b611bbf709a33d1d39daacda2848f11567276.zip |
Notes
Diffstat (limited to 'net-p2p/mldonkey')
-rw-r--r-- | net-p2p/mldonkey/Makefile | 11 | ||||
-rw-r--r-- | net-p2p/mldonkey/files/patch-Makefile | 11 |
2 files changed, 3 insertions, 19 deletions
diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile index 6673182d638b..618866b31142 100644 --- a/net-p2p/mldonkey/Makefile +++ b/net-p2p/mldonkey/Makefile @@ -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 @@ -106,12 +106,10 @@ post-patch: ${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 diff --git a/net-p2p/mldonkey/files/patch-Makefile b/net-p2p/mldonkey/files/patch-Makefile deleted file mode 100644 index d8380f0cb5d6..000000000000 --- a/net-p2p/mldonkey/files/patch-Makefile +++ /dev/null @@ -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") - |