svn commit: r346557 - head/security/destroy

Rene Ladan rene at FreeBSD.org
Fri Feb 28 16:37:00 UTC 2014


Author: rene
Date: Fri Feb 28 16:36:59 2014
New Revision: 346557
URL: http://svnweb.freebsd.org/changeset/ports/346557
QAT: https://qat.redports.org/buildarchive/r346557/

Log:
  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

Modified:
  head/security/destroy/Makefile

Modified: head/security/destroy/Makefile
==============================================================================
--- head/security/destroy/Makefile	Fri Feb 28 16:24:40 2014	(r346556)
+++ head/security/destroy/Makefile	Fri Feb 28 16:36:59 2014	(r346557)
@@ -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


More information about the svn-ports-head mailing list