Fix pkglint warnings: add PAPERSIZE to BUILD_DEFS and do not hide a
post-build command.
This commit is contained in:
parent
1848dec166
commit
a5b9d5aa54
1 changed files with 4 additions and 3 deletions
|
@ -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
|
DISTNAME= libpaper_1.1.23
|
||||||
|
@ -22,11 +22,12 @@ USE_TOOLS+= gmake
|
||||||
EGDIR= ${PREFIX}/share/examples/libpaper
|
EGDIR= ${PREFIX}/share/examples/libpaper
|
||||||
CONF_FILES= ${EGDIR}/papersize ${PKG_SYSCONFDIR}/papersize
|
CONF_FILES= ${EGDIR}/papersize ${PKG_SYSCONFDIR}/papersize
|
||||||
|
|
||||||
|
BUILD_DEFS= PAPERSIZE
|
||||||
|
|
||||||
.include "../../devel/libgetopt/buildlink3.mk"
|
.include "../../devel/libgetopt/buildlink3.mk"
|
||||||
|
|
||||||
post-build:
|
post-build:
|
||||||
@${ECHO} 'Creating default papersize configuration file'
|
PAPERCONF=${WRKDIR}/papersize ${SH} ${WRKSRC}/src/paperconfig \
|
||||||
@PAPERCONF=${WRKDIR}/papersize ${SH} ${WRKSRC}/src/paperconfig \
|
|
||||||
-p ${PAPERSIZE}
|
-p ${PAPERSIZE}
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
|
|
Loading…
Reference in a new issue