summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysutils/mtscan/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/sysutils/mtscan/Makefile b/sysutils/mtscan/Makefile
index 30ff3c44c3f..a590f922f29 100644
--- a/sysutils/mtscan/Makefile
+++ b/sysutils/mtscan/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2008/03/05 17:14:10 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2008/03/05 17:17:52 jlam Exp $
DISTNAME= mtscan-20050129
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= # empty
DISTFILES= # empty
@@ -15,15 +16,19 @@ PKG_DESTDIR_SUPPORT= user-destdir
NO_CHECKSUM= yes
+CPPFLAGS+= -DMTIO
+
INSTALLATION_DIRS= bin
do-extract:
${CP} -R ${FILESDIR} ${WRKSRC}
do-build:
- cd ${WRKSRC} && ${CC} -O2 -DMTIO -o mtscan mtscan.c -ltermcap
+ cd ${WRKSRC} && ${CC} ${CFLAGS} ${CPPFLAGS} -o mtscan mtscan.c \
+ ${LDFLAGS} ${BUILDLINK_LDADD.termcap}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mtscan ${DESTDIR}${PREFIX}/bin
+.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"