Skip to content
Permalink
Browse files

cryptlib: Fix comment and remove commented-out code

  • Loading branch information
ryandesign committed Mar 28, 2018
1 parent 69e722d commit 4a8a85dbab92da5a3621c5d89970ec681ff8f232
Showing with 1 addition and 5 deletions.
  1. +1 −5 devel/cryptlib/Portfile
@@ -5,7 +5,7 @@ PortGroup conflicts_build 1.0

# Quoth the makefile: "[Multiple-architecture building] is rather trouble-prone
# because the low-level crypto code has to configure itself for CPU endianness
# and word size 5975092or the algorithms that require low-level bit fiddling, and
# and word size for the algorithms that require low-level bit fiddling, and
# uses different code strategies depending on the CPU architecture and bit
# width. This single-pass build for multiple architectures often causes
# problems, and you're more or less on your own if you decide to try it."
@@ -64,10 +64,6 @@ build.args CC="${configure.cc}" \
configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include

foreach arch ${universal_archs} {
# set archflag "-arch ${arch}"
# lappend merger_build_env(${arch}) \
# CFLAGS=[list {*}${configure.cflags} {*}${configure.cppflags} {*}${archflag}] \
# LDFLAGS=[list {*}${configure.ldflags} {*}${archflag}]
lappend merger_build_env(${arch}) \
CFLAGS="${configure.cflags} ${configure.cppflags} -arch ${arch}" \
LDFLAGS="${configure.ldflags} -arch ${arch}"

0 comments on commit 4a8a85d

Please sign in to comment.
You can’t perform that action at this time.