Tuesday, November 05, 2024

Re: new tool: port-var-check

On Sun, Nov 03, 2024 at 02:11:12PM +0100, Marc Espie wrote:
> Here's a second version that actually works with multiple parameters,
> is way more specific at telling you where badly-placed variables should be,
> and also knows a heck of a lot more about existing variables.

Hmm

Makefile: SITES late (should be before SITES)

with the following (ugly) Makefile from my xenoport project


COMMENT = library providing the VESA CVT standard modelines generator

DISTNAME = libxcvt-0.1.1

SHARED_LIBS = xcvt 0.0
CATEGORIES = devel x11
HOMEPAGE = https://gitlab.freedesktop.org/xorg/lib/libxfont

MAINTAINER = xenocara@openbsd.org

# MIT
PERMIT_PACKAGE = Yes

WANTLIB = c m

EXTRACT_SUFX = .tar.xz

MODULES = devel/meson xenocara

SITES = ${SITE_XORG:=lib/}

.include <bsd.port.mk>

--
Matthieu Herrb

No comments:

Post a Comment