summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/netpbm/Makefile7
-rw-r--r--graphics/xpm/Makefile8
2 files changed, 6 insertions, 9 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index fe426a32d85..98c15441171 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.154 2007/09/06 21:51:53 jlam Exp $
+# $NetBSD: Makefile,v 1.155 2007/09/08 21:57:58 jlam Exp $
DISTNAME= netpbm-10.34
PKGREVISION= 1
@@ -15,6 +15,7 @@ MAKE_JOBS_SAFE= no
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= bash:run gmake lex perl
+USE_FEATURES= snprintf
INSTALL_TARGET= install-dev install-run
MAKE_ENV+= INSTALL=${INSTALL:Q} STRIPFLAG=${_STRIPFLAG_INSTALL:Q} \
@@ -66,10 +67,6 @@ MAKE_ENV+= NETPBMLIBTYPE="unixshared" NETPBMLIBSUFFIX="so"
CPPFLAGS+= -DSGI_IDO_CC
.endif
-.if !empty(LOWER_OPSYS:Mirix5*)
-. include "../../pkgtools/libnbcompat/inplace.mk" # snprintf()
-.endif
-
.include "../../graphics/jasper/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
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: