在 2018/11/24 上午9:31, Edward Diener 写道:
> On 11/23/2018 5:06 PM, Greg Jung wrote:
>> You should try "makepkg -g" and paste/copy the results, for the lines
>> that
>> are different,  into the PKGBUILD.
>> Then, makepkg --check can be used to test it.
> 
> When I run makepkg -g I get:
> 
> ==> ERROR: pkgname is not allowed to start with a hyphen.
> ==> ERROR: depends is not allowed to start with a hyphen.
> ==> ERROR: depends is not allowed to start with a hyphen.
> ==> ERROR: makedepends is not allowed to start with a hyphen.
> ==> ERROR: makedepends is not allowed to start with a hyphen.
> 
> In the PKGBUILD file I see these lines among others:
> 
> pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
> depends=("${MINGW_PACKAGE_PREFIX}-libiconv" "${MINGW_PACKAGE_PREFIX}-zlib")
> makedepends=("${MINGW_PACKAGE_PREFIX}-libiconv"
> "${MINGW_PACKAGE_PREFIX}-zlib")
> 
> Needless to say I did not change any of these lines.
> 

Use `makepkg-mingw` to build MinGW{32,64} packages, rather than
`makepkg`. That is exactly the difference.


-- 
Best regards,
LH_Mouse

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to