freebsd-ports/sysutils/installwatch/Makefile
Ed Maste 73ca9e7230 Use BINARY_ALIAS to make LLD_UNSAFE more widely applicable
Some ports do not honour $LD or -fuse-ld=bfd in $CFLAGS, but do invoke
ld via $PATH.   Automatically set BINARY_ALIAS+=ld=${LD} when LLD_UNSAFE
is active to use ld.bfd for these ports.

Approved by:	portmgr (antoine)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D14876
2018-03-29 15:02:05 +00:00

31 lines
752 B
Makefile

# Created by: George Reid <greid@ukug.uk.freebsd.org>
# $FreeBSD$
PORTNAME= installwatch
PORTVERSION= 0.6.3
PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://asic-linux.com.mx/~izto/checkinstall/files/source/
MAINTAINER= ports@FreeBSD.org
COMMENT= File creation/modification logger
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_LDCONFIG= yes
LLD_UNSAFE= yes # Needs linker to provide library search paths.
PLIST_FILES= bin/installwatch lib/installwatch.so
PORTDOCS= BUGS CHANGELOG README TODO
OPTIONS_DEFINE= DOCS
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/installwatch.so
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>