Date: Mon, 4 Aug 2014 19:36:18 +0000 (UTC) From: Adam Weinberger <adamw@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r364041 - in head/comms/mlan3: . files Message-ID: <53dfe0b3.5c8b.2baf9339@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adamw Date: Mon Aug 4 19:36:18 2014 New Revision: 364041 URL: http://svnweb.freebsd.org/changeset/ports/364041 QAT: https://qat.redports.org/buildarchive/r364041/ Log: Fix build on newer FreeBSD versions, and with clang. Modified: head/comms/mlan3/Makefile head/comms/mlan3/files/patch-Makefiles Modified: head/comms/mlan3/Makefile ============================================================================== --- head/comms/mlan3/Makefile Mon Aug 4 19:34:31 2014 (r364040) +++ head/comms/mlan3/Makefile Mon Aug 4 19:36:18 2014 (r364041) @@ -13,4 +13,8 @@ COMMENT= Version 3.00 beta API for Dalla NO_WRKSUBDIR= yes USES= uidfix zip +post-patch: + @${REINPLACE_CMD} -e '/int main/s/short argc/int argc/' \ + ${WRKSRC}/apps/gethumd/gethumd.c ${WRKSRC}/apps/shaapp/shaapp.c + .include <bsd.port.mk> Modified: head/comms/mlan3/files/patch-Makefiles ============================================================================== --- head/comms/mlan3/files/patch-Makefiles Mon Aug 4 19:34:31 2014 (r364040) +++ head/comms/mlan3/files/patch-Makefiles Mon Aug 4 19:36:18 2014 (r364041) @@ -43,7 +43,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -61,7 +61,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -79,7 +79,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -97,7 +97,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -115,7 +115,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -133,7 +133,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -151,7 +151,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -165,7 +165,7 @@ +CFLAGS= -I. -Wall -I ../../common +LDFLAGS= -L ../../common -L ../../lib/userial +LDADD= -lmlanser -lmlancom -+NOMAN= true ++NO_MAN= true +SRCS= tstfind.c + +.include <bsd.prog.mk> @@ -180,7 +180,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -198,7 +198,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG} @@ -212,7 +212,7 @@ +CFLAGS= -I. -Wall -I ../../common +LDFLAGS= -L ../../common -L ../../lib/userial +LDADD= -lmlanser -lmlancom -+NOMAN= true ++NO_MAN= true +SRCS= tstfind.c + +.include <bsd.prog.mk> @@ -227,7 +227,7 @@ +CFLAGS= -I. -Wall -I${MLANCOM} +LDADD= -L${MLANLIB} -lmlan +DPADD= ${MLANLIB}/libmlan.a -+NOMAN= 1 ++NO_MAN= 1 +SRCS= ${PROG}.c + +test: ${PROG}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53dfe0b3.5c8b.2baf9339>