1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/www/cgihtml/Makefile
Ed Maste 565e0836c0 www/cgihtml: set LLD_UNSAFE
This port passes an unusual option to the linker that is accepted by
ld.bfd but rejected by ld.lld.  Linking with lld fails with:

ld: error: -O: number expected, but got 'string-lib.o'

PR:		226992
Approved by:	portmgr (LLD_UNSAFE blanket)
Sponsored by:	The FreeBSD Foundation
2018-03-27 20:46:44 +00:00

35 lines
866 B
Makefile

# Created by: Ian Vaudrey <i.vaudrey@bigfoot.com>
# $FreeBSD$
PORTNAME= cgihtml
PORTVERSION= 1.69
PORTREVISION= 3
CATEGORIES= www devel
MASTER_SITES= http://www.eekim.com/software/cgihtml/ \
ftp://www.eekim.com/pub/users/eekim/cgihtml/ \
ftp://hcs.harvard.edu/pub/web/tools/cgihtml/
MAINTAINER= ports@FreeBSD.org
COMMENT= Library that simplifies the task of writing CGI programs in C
USE_LDCONFIG= yes
LLD_UNSAFE= yes
OPTIONS_DEFINE= DOCS
post-extract:
@${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
@${CP} ${FILESDIR}/Makefile ${WRKSRC}
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcgihtml.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
.for file in CHANGES CREDITS
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${STAGEDIR}${DOCSDIR}/html
.include <bsd.port.mk>