You are not logged in.

#1 2025-01-22 09:04:13

akira86
Member
Registered: 2009-01-16
Posts: 124

PKGBUILD: reference makedepends from another package

Hello

In nginx-mainline-mod-http-xslt-filter I would like setup the same makedepends than nginx-mainline.

currently, in nginx-mainline-mod-http-xslt-filter:

makedepends=("nginx-mainline-src=$pkgver")

and in nginx-mainline:

makedepends=(mercurial pcre2 zlib openssl gd geoip mailcap libxcrypt libxslt rsync)

straightforward solution, in nginx-mainline-mod-http-xslt-filter:

makedepends=("nginx-mainline-src=$pkgver" mercurial pcre2 zlib openssl gd geoip mailcap libxcrypt libxslt rsync)

But is it possible to do something like:

makedepends=("nginx-mainline-src=$pkgver" "makedepends from nginx-mainline-src=$pkgver")

Thanks in advance.

Offline

#2 2025-01-22 09:39:06

gromit
Administrator
From: Germany
Registered: 2024-02-10
Posts: 1,446
Website

Re: PKGBUILD: reference makedepends from another package

No I don't think so, just spell them out smile

Offline

#3 2025-01-22 10:12:04

akira86
Member
Registered: 2009-01-16
Posts: 124

Re: PKGBUILD: reference makedepends from another package

That's what I thought.

Thanks for your reply.

Offline

Board footer

Powered by FluxBB