Skip to content

Commit

Permalink
port lua-luasocket: fixed CFLAGS and newline typo in post-destroot
Browse files Browse the repository at this point in the history
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 653157b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions devel/lua-luasocket/Portfile
Expand Up @@ -41,8 +41,8 @@ post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${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} ${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} ${destroot}${prefix}/share/examples/${name}
} }
2 changes: 1 addition & 1 deletion devel/lua-luasocket/files/patch-config.diff
Expand Up @@ -35,7 +35,7 @@
-#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc -#LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc
+CC=gcc +CC=gcc
+DEF= -DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN +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 +LDFLAGS=-bundle -undefined dynamic_lookup
+LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc +LD=export MACOSX_DEPLOYMENT_TARGET="10.3"; gcc


Expand Down

0 comments on commit 653157b

Please sign in to comment.