1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Fix build without gcc

- Stage
This commit is contained in:
Bryan Drewery 2014-04-17 06:00:54 +00:00
parent 6a2cd8e3d1
commit 2f1a1d2ed4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351452

View File

@ -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>