summaryrefslogtreecommitdiff
path: root/graphics/xpm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/xpm/Makefile')
-rw-r--r--graphics/xpm/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/graphics/xpm/Makefile b/graphics/xpm/Makefile
index 3cbee558490..e5df2f84f73 100644
--- a/graphics/xpm/Makefile
+++ b/graphics/xpm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2007/01/06 16:45:17 rillig Exp $
+# $NetBSD: Makefile,v 1.55 2007/09/06 21:51:53 jlam Exp $
DISTNAME= xpm-3.4k
PKGREVISION= 7
@@ -31,13 +31,12 @@ SUBST_STAGE.sodots= post-configure
SUBST_FILES.sodots= lib/Makefile
SUBST_SED.sodots= -e 's,\.so$$(SOXPMLIBREV),.so.$$(SOXPMLIBREV),g'
-# needs snprintf()
-. include "../../pkgtools/libnbcompat/buildlink3.mk"
-IMAKEOPTS+= -DExtraLibraries=${BUILDLINK_LDADD.libnbcompat:Q}
+. include "../../pkgtools/libnbcompat/inplace.mk" # snprintf()
+IMAKEOPTS+= -DExtraLibraries=-lnbcompat
IMAKEOPTS+= -DInstallCmd=${INSTALL:Q}
post-configure:
- mkdir ${WRKSRC}/usrlib
+ ${MKDIR} ${WRKSRC}/usrlib
.endif
.include "../../x11/libXext/buildlink3.mk"