summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-13 03:40:07 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-10-13 03:40:07 +0000
commitb6e3b399b68de9978dbd42ab0b47ed146c4e395e (patch)
tree6eed9c98c54d208bc4b65dc20a43835ae342df37 /astro
parentsecurity/sshgaurd: Update to 1.6.2 (diff)
- Fix parallel build: don't use MFLAGS in upstream Makefile as it's reserved by make and contains -j flag
- Use MANPREFIX
Notes
Notes: svn path=/head/; revision=399173
Diffstat (limited to 'astro')
-rw-r--r--astro/saoimage/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/astro/saoimage/Makefile b/astro/saoimage/Makefile
index 7b46d3745dae..f9e8b910c1ae 100644
--- a/astro/saoimage/Makefile
+++ b/astro/saoimage/Makefile
@@ -17,9 +17,13 @@ USE_XORG= x11
PLIST_FILES= bin/saoimage etc/imtoolrc.sample man/man1/saoimage.1.gz
+post-patch:
+ # MFLAGS is reserved by make
+ @${REINPLACE_CMD} -e 's|MFLAGS|MYMFLAGS|' ${WRKSRC}/makefile.FreeBSD
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/saoimage ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/imtoolrc ${STAGEDIR}${PREFIX}/etc/imtoolrc.sample
- ${INSTALL_MAN} ${WRKSRC}/doc/saoimage.man ${STAGEDIR}${PREFIX}/man/man1/saoimage.1
+ ${INSTALL_MAN} ${WRKSRC}/doc/saoimage.man ${STAGEDIR}${MAN1PREFIX}/man/man1/saoimage.1
.include <bsd.port.mk>