pkgsrc/x11/libXpm/Makefile
jlam 1a14b4895b + 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, which are the only programs that use gettext().

Bump the PKGREVISION to 1.
2008-02-24 02:26:33 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2008/02/24 02:26:33 jlam Exp $
#
DISTNAME= libXpm-3.5.7
PKGREVISION= 1
CATEGORIES= graphics x11
MASTER_SITES= http://xorg.freedesktop.org/releases/individual/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]*
PKG_DESTDIR_SUPPORT= user-destdir
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 "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
.include "../../x11/xproto/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"