Changeset 83392
- Timestamp:
- 08/31/11 00:38:07 (4 years ago)
- Location:
- trunk/dports/net/fetch
- Files:
-
- 2 edited
-
Portfile (modified) (3 diffs)
-
files/patch-Makefile (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/net/fetch/Portfile
r83358 r83392 5 5 name fetch 6 6 version 7.4.0-RELEASE 7 revision 1 7 8 categories net 8 9 maintainers afb … … 11 12 Its purpose is to retrieve the file(s) pointed to by the URL(s) on the command line. 12 13 platforms darwin freebsd 14 license BSD 13 15 use_bzip2 yes 14 16 homepage http://www.freebsd.org/ … … 17 19 sha1 44ee199b6493b92aa7c56b33923c8e59c18c839f \ 18 20 rmd160 bb44a3cac83f96626a7d9790d996fb9183913bb3 21 variant universal {} 22 build.type bsd 23 build.env CC=${configure.cc} \ 24 CFLAGS="${configure.cppflags} ${configure.cflags} [get_canonical_archflags]" \ 25 LDFLAGS="${configure.ldflags} [get_canonical_archflags]" 26 build.args -DMK_OPENSSL 19 27 worksrcdir ${name} 20 28 use_configure no 21 depends_lib lib:libfetch.5:libfetch port:openssl 22 build.type bsd 23 build.env CC=${configure.cc} CFLAGS=${configure.cflags} 24 build.args CFLAGS+=-I${prefix}/include LDFLAGS+=-L${prefix}/lib -DMK_OPENSSL 29 destroot { 30 xinstall -m 755 -c ${worksrcpath}/fetch ${destroot}${prefix}/bin 31 xinstall -m 644 -c ${worksrcpath}/fetch.1 ${destroot}${prefix}/share/man/man1 } 25 32 26 destroot { 27 xinstall -m 755 ${workpath}/${worksrcdir}/fetch ${destroot}${prefix}/bin 28 xinstall -m 644 -c ${workpath}/${worksrcdir}/fetch.1 ${destroot}${prefix}/share/man/man1 } 33 depends_lib port:libfetch port:openssl 29 34 30 35 platform darwin { 31 36 patchfiles patch-Makefile patch-fetch.c 32 build.args-append CFLAGS+=-D__FBSDID=__RCSID33 37 } -
trunk/dports/net/fetch/files/patch-Makefile
r28800 r83392 1 1 --- Makefile.orig 2004-12-21 11:16:02.000000000 +0100 2 2 +++ Makefile 2007-09-08 22:40:22.000000000 +0200 3 @@ - 2,6 +2,7@@3 @@ -4,7 +4,8 @@ 4 4 5 5 PROG= fetch 6 6 CSTD?= c99 7 -WARNS?= 6 7 8 +CFLAGS+= -D__FBSDID=__RCSID 8 WARNS?= 6 9 +WARNS?= 2 9 10 DPADD= ${LIBFETCH} 10 11 LDADD= -lfetch 12 .if ${MK_OPENSSL} != "no"
Note: See TracChangeset
for help on using the changeset viewer.

