Skip to content
Permalink
Browse files

port lua-luasocket: fixed CFLAGS and newline typo in post-destroot

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@77691 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
anddam committed Apr 9, 2011
1 parent a1fc8b0 commit 653157b8fe4b1f124cb9b9242fa074311225cf1e
Showing with 3 additions and 3 deletions.
  1. +2 −2 devel/lua-luasocket/Portfile
  2. +1 −1 devel/lua-luasocket/files/patch-config.diff
@@ -41,8 +41,8 @@ post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}

xinstall -m 644 ${worksrcpath}/LICENSE ${worksrcpath}/NEW /
xinstall -m 644 ${worksrcpath}/LICENSE ${worksrcpath}/NEW \
${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
file copy ${worksrcpath}/etc ${worksrcpath}/samples ${worksrcpath}/test /
file copy ${worksrcpath}/etc ${worksrcpath}/samples ${worksrcpath}/test \
${destroot}${prefix}/share/examples/${name}
}
@@ -35,7 +35,7 @@
-#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
+CC=gcc
+DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
+CFLAGS= $(LUAINC) -I$(COMPAT) $(DEF) -pedantic -Wall -O2 -fno-common
+CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fno-common
+LDFLAGS=-bundle -undefined dynamic_lookup
+LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc

0 comments on commit 653157b

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