summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-05-09 11:52:01 +0000
committerjperkin <jperkin@pkgsrc.org>2017-05-09 11:52:01 +0000
commitdebb3e2f5740f2faef185560bfdaf200712a43c8 (patch)
treef746eb3719ee0435ce6b3580d0ac0936ce6ae3ca /chat
parente1a9cd73e1ea7a8558882acf0931a2a38dac2283 (diff)
downloadpkgsrc-debb3e2f5740f2faef185560bfdaf200712a43c8.tar.gz
Requires termcap. Use correct compiler and flags.
Diffstat (limited to 'chat')
-rw-r--r--chat/sirc/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/chat/sirc/Makefile b/chat/sirc/Makefile
index d8667340ee9..2b13bceb516 100644
--- a/chat/sirc/Makefile
+++ b/chat/sirc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2016/07/09 06:37:54 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2017/05/09 11:52:01 jperkin Exp $
DISTNAME= sirc-2.211
PKGREVISION= 9
@@ -60,12 +60,12 @@ IRC_SERVER= us.undernet.org
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 lib/sirc/scripts
do-install:
- cd ${WRKSRC} ; ( \
+ ${RUN} cd ${WRKSRC} ; ( \
${ECHO} "y" ; \
+ ${ECHO} "${CC}" ; \
${ECHO} "" ; \
${ECHO} "" ; \
- ${ECHO} "" ; \
- ${ECHO} "-O3" ; \
+ ${ECHO} "${CFLAGS} ${LDFLAGS}" ; \
${ECHO} "" ; \
${ECHO} "${PERL5}" ; \
${ECHO} "${DESTDIR}${PREFIX}/bin" ; \
@@ -81,4 +81,5 @@ do-install:
${ECHO} installing $$i ; \
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$$i ${DESTDIR}${PREFIX}/lib/sirc/scripts/$$i ; done
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"