diff options
author | jlam <jlam> | 2008-03-05 17:17:52 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-05 17:17:52 +0000 |
commit | 18a18144d61a4cac30f0e134aa352249888f4474 (patch) | |
tree | 69cc7f6a3e97ac65cec38bb4d0cc9864afadafb4 /sysutils/mtscan | |
parent | eb2135e3104eefca251ad81f973202551e1be3ee (diff) | |
download | pkgsrc-18a18144d61a4cac30f0e134aa352249888f4474.tar.gz |
Honor CFLAGS and LDFLAGS, and include termcap.buildlink3.mk to get the
correct library to use for the t*() termcap functions.
Bump the PKGREVISION to 1.
Diffstat (limited to 'sysutils/mtscan')
-rw-r--r-- | sysutils/mtscan/Makefile | 9 |
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" |