Revision
83388
Author
afb@macports.org
Date
2011-08-30 23:46:11 -0700 (Tue, 30 Aug 2011)

Log Message

add archflags/+universal variant for ryan, add license

Modified Paths

Diff

Modified: trunk/dports/net/libfetch/Portfile (83387 => 83388)


--- trunk/dports/net/libfetch/Portfile	2011-08-31 06:11:56 UTC (rev 83387)
+++ trunk/dports/net/libfetch/Portfile	2011-08-31 06:46:11 UTC (rev 83388)
@@ -4,20 +4,25 @@
 
 name		libfetch
 version		7.4.0-RELEASE
+revision	1
 categories	net
 maintainers	afb
 description	FreeBSD file fetching library
 long_description	These functions implement a high-level library for retrieving and \
 			uploading files using Uniform Resource Locators (URLs).
 platforms	darwin freebsd
+license		BSD
 use_bzip2	yes
 homepage	http://www.freebsd.org/
 master_sites	macports
 checksums	md5 8c489dddaea84ef17a5c6addc11ac1c3 \
 		sha1 8464fb158f349546cb3bb390c59bbfc8d13be637 \
 		rmd160 8ee8e717049876f1636ad4f456d89fdb3ff44823
+variant universal {}
 build.type	bsd
-build.env	CC=${configure.cc} CFLAGS=${configure.cflags}
+build.env	CC=${configure.cc} \
+		CFLAGS="${configure.cflags} [get_canonical_archflags]" \
+		LDFLAGS="${configure.ldflags} [get_canonical_archflags]"
 build.args	-DMK_INET6_SUPPORT -DMK_OPENSSL
 worksrcdir	${name}
 use_configure	no