pkgsrc/x11/libXpm/Makefile
wiz 13bcc5f626 libXpm: update to 3.5.13.
Lest we be accused that users have to wait many years to get fixes out,
let's quickly release the branch before the calendar turns over over again
so it's just some years. The actual fixes here are some found by static
analysers, and a build fix for Windows (which, curiously, is dated to 2012
so clearly we're at the top of the game here). Nothing overly exciting, but
covscan, parfait, etc. should be a bit happier now.

Alan Coopersmith (3):
      After fdopen(), use fclose() instead of close() in error path
      Update README for gitlab migration
      Update configure.ac bug URL for gitlab migration

Benjamin Tissoires (1):
      parse: simplify error paths in xpmParseColors()

Dave Bodenstab (1):
      Windows build fixes

Emil Velikov (1):
      autogen.sh: use quoted string variables

Fabrice Fontaine (1):
      Allow usage when fork() is not available

Mihail Konev (1):
      autogen: add default patch prefix

Peter Hutterer (3):
      autogen.sh: use exec instead of waiting for configure to finish
      parse: avoid memleak on error with STRLCAT/STRLCPY
      libXpm 3.5.13
2019-12-13 10:42:36 +00:00

50 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2019/12/13 10:42:36 wiz Exp $
DISTNAME= libXpm-3.5.13
CATEGORIES= graphics x11
MASTER_SITES= ${MASTER_SITE_XORG:=lib/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= joerg@NetBSD.org
HOMEPAGE= http://xorg.freedesktop.org/
COMMENT= X PixMap Library from modular Xorg X11
CONFLICTS+= xpm-[0-9]*
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config xgettext
PKGCONFIG_OVERRIDE+= xpm.pc.in
GNU_CONFIGURE= yes
CONFIGURE_ENV+= APP_MAN_SUFFIX=1
# Don't allow the configure script to find libintl.so or else the resulting
# libXpm will be linked against it, which is not necessary. Instead, just
# pass down INTLLIBS in the build environment for use by the [cs]xpm
# Makefiles.
#
CONFIGURE_ENV+= ac_cv_search_gettext=no
MAKE_ENV+= INTLLIBS=${BUILDLINK_LDADD.gettext:Q}
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "native"
XPM_CFLAGS= -I${X11BASE}/include
XPM_LIBS= ${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib -lX11
SXPM_CFLAGS= -I${X11BASE}/include
SXPM_LIBS= ${COMPILER_RPATH_FLAG}${X11BASE}/lib -L${X11BASE}/lib -lXt -lXext
CONFIGURE_ARGS+= XPM_CFLAGS=${XPM_CFLAGS:Q} \
XPM_LIBS=${XPM_LIBS:Q} \
SXPM_CFLAGS=${SXPM_CFLAGS:Q} \
SXPM_LIBS=${SXPM_LIBS:Q}
.endif
.include "../../meta-pkgs/modular-xorg/hacks.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xorgproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"