pkgsrc/wm/libAppleWM/Makefile
ryoon 07f1330c6f modular-xorg-xquartz, libAppleWM: Use predefined OSX_SDK_PATH
The latest macOS Big Sur 11.2.1 and Xcode 12.4 as of 2021-02-24 do not
provide 11.2 SDK. They provide 11.1 SDK instead. mk/platform/Darwin.mk has
workaround for this situation. So use the workaround directly.

OSX_SDK_PATH may be internal, however it is accessible over 5 years.
It may not be a big problem hopefully.
2021-02-25 12:30:58 +00:00

29 lines
719 B
Makefile

# $NetBSD: Makefile,v 1.9 2021/02/25 12:30:58 ryoon Exp $
DISTNAME= libAppleWM-1.4.1
PKGREVISION= 1
CATEGORIES= x11 devel
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://xorg.freedesktop.org/
COMMENT= AppleWM library from modular X.org
LICENSE= mit
PREV_PKGPATH= x11/libAppleWM
ONLY_FOR_PLATFORM= Darwin-*-*
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
CONFIGURE_ENV+= LIB_MAN_SUFFIX=3
PKGCONFIG_OVERRIDE+= applewm.pc.in
MAKE_ENV+= OSX_SDK_PATH=${XCODE_SDK_PATH}
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"