1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

security/destroy: fix build on DragonflyBSD. The distribution Makefile

includes bsd.port.mk at the end (!), which causes an infinite loop there
while FreeBSD is fine.  As the build consists of one target only, just
define it in the port Makefile.

Noticed by:	marino
This commit is contained in:
Rene Ladan 2014-02-28 16:36:59 +00:00
parent 1e137b9b46
commit 28536a96ad
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346557

View File

@ -14,6 +14,9 @@ LICENSE= BSD4CLAUSE
PLIST_FILES= bin/destroy man/man1/destroy.1.gz
do-build:
(cd ${WRKSRC} ; ${CC} ${CFLAGS} ${LDFLAGS} -o ${PORTNAME} destroy.c)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/destroy ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/destroy.1 ${STAGEDIR}${MAN1PREFIX}/man/man1