Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2014 16:36:59 +0000 (UTC)
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346557 - head/security/destroy
Message-ID:  <201402281636.s1SGaxuq074843@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402281636.s1SGaxuq074843>