pkgsrc-WIP-discuss archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkglint warning: XXX should not be evaluated at load time



Can anybody explain what does this pkglint warning mean
and how to fix it?

--------------     wip/libmaa     -----------------
WARN: Makefile:27: EXTRA_DOC_FILES should not be evaluated at load time.
0 errors and 1 warnings found.


Makefile:
      1 # $NetBSD$
      2 
      3 DISTNAME=       dictd-1.10.7
      4 PKGNAME=        libmaa-0.990
      5 CATEGORIES=     textproc
      6 MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE:=dict/} \
      7                 ftp://ftp.dict.org/pub/dict/
      8 
      9 MAINTAINER=     cheusov%tut.by@localhost
     10 HOMEPAGE=       http://www.dict.org/
     11 COMMENT=        Library that provides many low-level data structures
     12 
     13 WRKSRC=         ${WRKDIR}/${DISTNAME}/libmaa
     14 
     15 USE_TOOLS+=             gmake
     16 GNU_CONFIGURE=          yes
     17 BUILD_TARGET=           lib
     18 CONFIGURE_ARGS+=        --with-cflags=${CFLAGS:M*:Q}
     19 CONFIGURE_ARGS+=        --enable-shared
     20 
     21 PKGDOCDIR=      ${PREFIX}/share/doc/${PKGBASE}
     22 INSTALLATION_DIRS+=     ${PKGDOCDIR}
     23 
     24 EXTRA_DOC_FILES=        COPYING.LIB README doc/libmaa.600dpi.ps
     25 
     26 post-install:
     27 .for i in ${EXTRA_DOC_FILES}
     28         ${INSTALL_DATA} ${WRKSRC}/${i} ${PKGDOCDIR}
     29 .endfor
     30 
     31 .include "../../mk/bsd.pkg.mk"


-- 
Best regards, Aleksey Cheusov.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
pkgsrc-wip-discuss mailing list
pkgsrc-wip-discuss%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-discuss



Home | Main Index | Thread Index | Old Index