pkgsrc/x11/libXpm/Makefile
wiz 72d1bee8af Update to 3.5.11:
This minor maintenance release provides various build configuration
improvements and other janitorial cleanups, including declaring the
filename parameters in the API as "const char *" to reduce unnecessary
const-strings warnings in callers.

Adam Jackson (1):
      configure: Remove AM_MAINTAINER_MODE

Alan Coopersmith (4):
      Close fd if fdopen() or xpmPipeThrough() fails in OpenWriteFile()
      Add noreturn attributes suggested by gcc
      Fix typo in COPYING (matches src/amigax.h)
      libXpm 3.5.11

Christophe CURIS (2):
      Added 'const' qualifier to the filename argument to internal functions
      Added 'const' attribute to all filename arguments in the API

Claudio Bley (1):
      Fix libXpm build with NO_ZPIPE

Colin Walters (1):
      autogen.sh: Implement GNOME Build API

Eric S. Raymond (1):
      doclifter can't handle more than one dash in a name line.

Jon TURNEY (1):
      Define NO_ZPIPE when building for MinGW
2013-09-08 08:19:04 +00:00

51 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.16 2013/09/08 08:19:04 wiz Exp $
DISTNAME= libXpm-3.5.11
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= -Wl,-rpath,${X11BASE}/lib -L${X11BASE}/lib -lX11
SXPM_CFLAGS= -I${X11BASE}/include
SXPM_LIBS= -Wl,-rpath,${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/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"