summaryrefslogtreecommitdiff
path: root/graphics/xpm
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
committerjlam <jlam@pkgsrc.org>2007-09-08 21:57:57 +0000
commit2761568ac280270d3e97f7e38922103a7a4ff840 (patch)
tree090b4461321e87c968b099c0a26b69c4da29ff20 /graphics/xpm
parent48bbc6ce1f67bf684a69a2ea4678cd6f17f128e9 (diff)
downloadpkgsrc-2761568ac280270d3e97f7e38922103a7a4ff840.tar.gz
Convert to use the features framework.
Diffstat (limited to 'graphics/xpm')
-rw-r--r--graphics/xpm/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index e5df2f84f73..cce50b954f4 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2007/09/06 21:51:53 jlam Exp $
+# $NetBSD: Makefile,v 1.56 2007/09/08 21:57:58 jlam Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 7
@@ -14,6 +14,7 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
CONFLICTS+= libXpm-[0-9]*
+USE_FEATURES= snprintf
USE_IMAKE= yes
.include "../../mk/bsd.prefs.mk"
@@ -26,13 +27,12 @@ post-install:
.endif
.if !empty(LOWER_OPSYS:Mirix5*)
-SUBST_CLASSES+= sodots
+SUBST_CLASSES+= sodots
SUBST_STAGE.sodots= post-configure
SUBST_FILES.sodots= lib/Makefile
SUBST_SED.sodots= -e 's,\.so$$(SOXPMLIBREV),.so.$$(SOXPMLIBREV),g'
-. include "../../pkgtools/libnbcompat/inplace.mk" # snprintf()
-IMAKEOPTS+= -DExtraLibraries=-lnbcompat
+IMAKEOPTS+= -DExtraLibraries=${LIBS:Q}
IMAKEOPTS+= -DInstallCmd=${INSTALL:Q}
post-configure: