Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jan 2018 23:53:56 +0100
From:      Antoine Brodin <antoine@freebsd.org>
To:        =?UTF-8?B?UGF3ZcWCIFDEmWthbGE=?= <pawel@freebsd.org>
Cc:        Yuri <yuri@rawbw.com>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r458090 - head/textproc/meld
Message-ID:  <CAALwa8nxi4UKmYV9sXKXREF3KpEEnHo%2BkgQ_ivZvwkNZP1ihcw@mail.gmail.com>
In-Reply-To: <CAALwa8=wtK17J_DMK1-x=BFGz=aZ3OLCszm4T3FsOv-nH9EH3g@mail.gmail.com>
References:  <201801042141.w04Lffge090956@repo.freebsd.org> <5d2a95fb-c100-63d9-bb59-eb02bbe87c0a@rawbw.com> <20180104230949.0268c023@FreeBSD.org> <CAALwa8=wtK17J_DMK1-x=BFGz=aZ3OLCszm4T3FsOv-nH9EH3g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 4, 2018 at 11:18 PM, Antoine Brodin <antoine@freebsd.org> wrote=
:
> On Thu, Jan 4, 2018 at 11:09 PM, Pawe=C5=82 P=C4=99kala <pawel@freebsd.or=
g> wrote:
>> Hi Yuri,
>>
>> On 2018-01-04 13:57 -0800, Yuri <yuri@rawbw.com> wrote:
>>>On 01/04/18 13:41, Pawel Pekala wrote:
>>>>    Update to version 3.18.0, now requires Python 3
>>>
>>>It prints this warning during build:
>>>
>>>/!\ meld-3.18.0: Makefile warnings, please consider fixing /!\
>>>
>>>PYDISTUTILS_INSTALLNOSINGLE is deprecated, please do not use it anymore
>>>
>>
>> I'm aware of it, but I have no clue how to fix it at this point.
>> If anyone can help I'm all ears. Simple deletion just breaks install.
>
> According to an old irc log from mva, the fix was:
>
> 10:48 < _mva_> using plain distutils
> 10:49 < _mva_> not setuptools
> 10:50 < _mva_> PYDISTUTILS_SETUP=3D ${PYSETUP} and the likes
> 10:51 < _mva_> or overriding/changing PYDISTUTILS_INSTALLARGS
> 10:51 < _mva_> I have to figure out the details


So maybe something like:

Index: textproc/meld/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- textproc/meld/Makefile (revision 458090)
+++ textproc/meld/Makefile (working copy)
@@ -21,9 +21,12 @@
 USE_PYTHON=3D distutils
 USE_GNOME=3D gtksourceview3 intltool libxml2:build pygobject3
 GLIB_SCHEMAS=3D org.gnome.meld.gschema.xml
-PYDISTUTILS_INSTALLNOSINGLE=3D yes
 PYDISTUTILS_INSTALL_TARGET=3D --no-update-icon-cache --no-compile-schemas =
install
 INSTALLS_ICONS=3D yes
 NO_ARCH=3D yes

-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+PYDISTUTILS_INSTALLARGS=3D -c -O1 --prefix=3D${PREFIX} --root=3D${STAGEDIR=
}
+
+.include <bsd.port.post.mk>

By the way,  this port should have a PYTHON_PKGNAMEPREFIX since it can
be flavored (py34, py35 and py36).

Cheers,

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8nxi4UKmYV9sXKXREF3KpEEnHo%2BkgQ_ivZvwkNZP1ihcw>