summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2010-04-23 11:33:06 +0000
committerjmmv <jmmv@pkgsrc.org>2010-04-23 11:33:06 +0000
commita5b9d5aa54fc3330a40220334393bdc8db8065fa (patch)
tree1189e9058e8089e8774f7840eab32c96c9148212 /print
parent1848dec166d1a80f0dbc5056b312157451b48942 (diff)
downloadpkgsrc-a5b9d5aa54fc3330a40220334393bdc8db8065fa.tar.gz
Fix pkglint warnings: add PAPERSIZE to BUILD_DEFS and do not hide a
post-build command.
Diffstat (limited to 'print')
-rw-r--r--print/libpaper/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/print/libpaper/Makefile b/print/libpaper/Makefile
index 583c6c83a40..1e9e0df8f58 100644
--- a/print/libpaper/Makefile
+++ b/print/libpaper/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2010/04/22 11:58:51 jmmv Exp $
+# $NetBSD: Makefile,v 1.6 2010/04/23 11:33:06 jmmv Exp $
#
DISTNAME= libpaper_1.1.23
@@ -22,11 +22,12 @@ USE_TOOLS+= gmake
EGDIR= ${PREFIX}/share/examples/libpaper
CONF_FILES= ${EGDIR}/papersize ${PKG_SYSCONFDIR}/papersize
+BUILD_DEFS= PAPERSIZE
+
.include "../../devel/libgetopt/buildlink3.mk"
post-build:
- @${ECHO} 'Creating default papersize configuration file'
- @PAPERCONF=${WRKDIR}/papersize ${SH} ${WRKSRC}/src/paperconfig \
+ PAPERCONF=${WRKDIR}/papersize ${SH} ${WRKSRC}/src/paperconfig \
-p ${PAPERSIZE}
post-install: