Summary: | net/aget: Support CC/CFLAGS properly | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | tkato432 | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
tkato432
2014-01-05 18:10:00 UTC
Author: antoine Date: Wed Jan 8 20:22:53 2014 New Revision: 339170 URL: http://svnweb.freebsd.org/changeset/ports/339170 Log: - Add LICENSE - Stage support - Fix build with clang PR: ports/185501 Submitted by: KATO Tsuguru Modified: head/net/aget/Makefile Modified: head/net/aget/Makefile ============================================================================== --- head/net/aget/Makefile Wed Jan 8 20:18:34 2014 (r339169) +++ head/net/aget/Makefile Wed Jan 8 20:22:53 2014 (r339170) @@ -7,15 +7,18 @@ CATEGORIES= net MASTER_SITES= http://www.enderunix.org/aget/ MAINTAINER= ports@FreeBSD.org -COMMENT= A multithreaded HTTP download accelerator +COMMENT= Multithreaded HTTP download accelerator -PLIST_FILES= bin/aget -MAN1= aget.1 +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING -NO_STAGE= yes -post-patch: -# fix man prefix and make portlint happy :) - @${REINPLACE_CMD} -e 's|/usr/share/man/man1/|${MANPREFIX}/man/man1/|g' -e \ - 's|/usr/local/bin/|${PREFIX}/bin/|g' ${WRKSRC}/Makefile +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +LDFLAGS+= -pthread + +PLIST_FILES= bin/aget man/man1/aget.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/aget ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/aget.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" Author: antoine Date: Wed Jan 8 20:25:50 2014 New Revision: 339171 URL: http://svnweb.freebsd.org/changeset/ports/339171 Log: MFH: r339170 - Add LICENSE - Stage support - Fix build with clang PR: ports/185501 Submitted by: KATO Tsuguru Approved by: portmgr (implicit) Modified: branches/2014Q1/net/aget/Makefile Directory Properties: branches/2014Q1/ (props changed) Modified: branches/2014Q1/net/aget/Makefile ============================================================================== --- branches/2014Q1/net/aget/Makefile Wed Jan 8 20:22:53 2014 (r339170) +++ branches/2014Q1/net/aget/Makefile Wed Jan 8 20:25:50 2014 (r339171) @@ -7,15 +7,18 @@ CATEGORIES= net MASTER_SITES= http://www.enderunix.org/aget/ MAINTAINER= ports@FreeBSD.org -COMMENT= A multithreaded HTTP download accelerator +COMMENT= Multithreaded HTTP download accelerator -PLIST_FILES= bin/aget -MAN1= aget.1 +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING -NO_STAGE= yes -post-patch: -# fix man prefix and make portlint happy :) - @${REINPLACE_CMD} -e 's|/usr/share/man/man1/|${MANPREFIX}/man/man1/|g' -e \ - 's|/usr/local/bin/|${PREFIX}/bin/|g' ${WRKSRC}/Makefile +MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +LDFLAGS+= -pthread + +PLIST_FILES= bin/aget man/man1/aget.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/aget ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/aget.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include <bsd.port.mk> _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org" State Changed From-To: open->closed CLose: patch committed to head and 2014Q1 branch, thanks! |