Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2014 06:00:55 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r351452 - head/sysutils/ucspi-ipc
Message-ID:  <201404170600.s3H60t7n066663@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Apr 17 06:00:54 2014
New Revision: 351452
URL: http://svnweb.freebsd.org/changeset/ports/351452
QAT: https://qat.redports.org/buildarchive/r351452/

Log:
  - Fix build without gcc
  - Stage

Modified:
  head/sysutils/ucspi-ipc/Makefile

Modified: head/sysutils/ucspi-ipc/Makefile
==============================================================================
--- head/sysutils/ucspi-ipc/Makefile	Thu Apr 17 05:56:50 2014	(r351451)
+++ head/sysutils/ucspi-ipc/Makefile	Thu Apr 17 06:00:54 2014	(r351452)
@@ -17,24 +17,26 @@ DOCS=		CHANGES
 
 WRKSRC=		${WRKDIR}/host/superscript.com/net/${DISTNAME}
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-configure:
 	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-cc
+	${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/conf-ld
 
 do-build:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} package/compile
 
 do-install:
 .for x in ipccat ipcconnect ipcdo ipcrun
-	${INSTALL_SCRIPT} ${WRKSRC}/command/${x} ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/command/${x} ${STAGEDIR}${PREFIX}/bin
 .endfor
 .for x in ipcclient ipccommand ipcconnect-io ipcexec ipcexec-config \
 	ipcexecrules ipcexecrulescheck ipcperl ipcrules ipcrulescheck ipcserver
-	${INSTALL_PROGRAM} ${WRKSRC}/command/${x} ${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/command/${x} ${STAGEDIR}${PREFIX}/bin
 .endfor
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
-	cd ${WRKSRC}/src && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/src && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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