Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Feb 2014 15:22:55 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346023 - in head/sysutils/spindown: . files
Message-ID:  <201402251522.s1PFMtfF071489@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb 25 15:22:55 2014
New Revision: 346023
URL: http://svnweb.freebsd.org/changeset/ports/346023
QAT: https://qat.redports.org/buildarchive/r346023/

Log:
  - Support staging
  - Respect CC
  - Respect CFLAGS

Added:
  head/sysutils/spindown/files/
  head/sysutils/spindown/files/patch-Makefile   (contents, props changed)
Modified:
  head/sysutils/spindown/Makefile

Modified: head/sysutils/spindown/Makefile
==============================================================================
--- head/sysutils/spindown/Makefile	Tue Feb 25 15:20:30 2014	(r346022)
+++ head/sysutils/spindown/Makefile	Tue Feb 25 15:22:55 2014	(r346023)
@@ -11,13 +11,11 @@ COMMENT=	SCSI/firewire harddrive spindow
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-MAN1=	spindown.1
-PLIST_FILES=	sbin/spindown etc/rc.d/spindown
+PLIST_FILES=	sbin/spindown etc/rc.d/spindown man/man1/spindown.1.gz
 
-NO_STAGE=	yes
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/spindown ${PREFIX}/sbin
-	${INSTALL_SCRIPT} ${WRKSRC}/rc.d/spindown ${PREFIX}/etc/rc.d
-	${INSTALL_MAN} ${WRKSRC}/spindown.1 ${MANPREFIX}/man/man1/spindown.1
+	${INSTALL_PROGRAM} ${WRKSRC}/spindown ${STAGEDIR}${PREFIX}/sbin
+	${INSTALL_SCRIPT} ${WRKSRC}/rc.d/spindown ${STAGEDIR}${PREFIX}/etc/rc.d
+	${INSTALL_MAN} ${WRKSRC}/spindown.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Added: head/sysutils/spindown/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/spindown/files/patch-Makefile	Tue Feb 25 15:22:55 2014	(r346023)
@@ -0,0 +1,13 @@
+--- ./Makefile.orig	2014-02-25 16:21:35.410946826 +0100
++++ ./Makefile	2014-02-25 16:22:00.265977282 +0100
+@@ -8,8 +8,8 @@
+ #
+ 
+ EXTRAOPTS =
+-CC = gcc
+-CFLAGS = -O2 -Wall $(EXTRAOPTS)
++CC ?= gcc
++CFLAGS += $(EXTRAOPTS)
+ OBJS = spindown.o cam.o log.o
+ INSTALL = /usr/bin/install
+ INSTALLFLAGS = -g wheel -o root



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