x11-wm/swm: This is not jobs-safe

The port tries to build the swm executable before the swm.o object file
is finished building.

While marking this jobs-unsafe, pet portlint so it doesn't complain.  It
doesn't like "file" being used as a variable name.
This commit is contained in:
John Marino 2015-02-02 16:32:47 +00:00
parent a98cbcec8f
commit e84d8987b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378309

View File

@ -34,6 +34,8 @@ SCRIPTS= startswm
DATA= background.xpm closebox.xpm maxbox.xpm stickybox.xpm \
swm.colors unstickybox.xpm
MAKE_JOBS_UNSAFE= yes
post-patch:
@${REINPLACE_CMD} -e 's|monotype|fixed|g ; \
s|/usr/share/swm|${DATADIR}|g' ${WRKSRC}/swm.conf
@ -45,11 +47,11 @@ post-build:
*.c -o ${WRKSRC}/swmswitch -lX11 -L${LOCALBASE}/lib
do-install:
.for file in ${BINS}
${INSTALL_PROGRAM} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.for f in ${BINS}
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
.for file in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${file} ${STAGEDIR}${PREFIX}/bin
.for f in ${SCRIPTS}
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
${INSTALL_MAN} ${WRKSRC}/swm.1x ${STAGEDIR}${MANPREFIX}/man/man1/swm.1
${INSTALL_MAN} ${WRKSRC}/../swmbg/swmbg.1x ${STAGEDIR}${MANPREFIX}/man/man1/swmbg.1