[91302] trunk/dports/mail/lbdb
jmr at macports.org
jmr at macports.org
Wed Mar 28 10:43:11 PDT 2012
Revision: 91302
https://trac.macports.org/changeset/91302
Author: jmr at macports.org
Date: 2012-03-28 10:43:10 -0700 (Wed, 28 Mar 2012)
Log Message:
-----------
lbdb: fix build with Xcode 4.x (#29121)
Modified Paths:
--------------
trunk/dports/mail/lbdb/Portfile
Added Paths:
-----------
trunk/dports/mail/lbdb/files/Makefile.in.patch
Modified: trunk/dports/mail/lbdb/Portfile
===================================================================
--- trunk/dports/mail/lbdb/Portfile 2012-03-28 17:28:42 UTC (rev 91301)
+++ trunk/dports/mail/lbdb/Portfile 2012-03-28 17:43:10 UTC (rev 91302)
@@ -1,6 +1,8 @@
# $Id$
+
PortSystem 1.0
-name lbdb
+
+name lbdb
version 0.36
revision 1
categories mail
@@ -14,22 +16,22 @@
homepage http://www.spinnaker.de/lbdb/
platforms darwin freebsd
maintainers loria.fr:reilles
-master_sites http://www.spinnaker.de/debian/
+master_sites http://www.spinnaker.de/debian/
checksums sha1 05f2535967274bc6b05061ff54a01fa308981b4a
-patchfiles lbdb.patch
+patchfiles lbdb.patch Makefile.in.patch
distname ${name}_${version}
worksrcdir ${name}-${version}
configure.dir ${workpath}/${name}-${version}
configure.args --sysconfdir=${prefix}/etc/ --libdir=${prefix}/lib/lbdb/ \
- --mandir=${prefix}/share/man
+ --mandir=${prefix}/share/man
configure.cflags-append -I${prefix}/include
post-patch {
file delete ${configure.dir}/ABQuery/ABQuery.pbproj/project.pbxproj
file delete ${configure.dir}/ABQuery/ABQuery.pbproj
}
build.dir ${configure.dir}
-destroot.target install
+destroot.target install
destroot.destdir install_prefix=${destroot}
post-destroot {
Added: trunk/dports/mail/lbdb/files/Makefile.in.patch
===================================================================
--- trunk/dports/mail/lbdb/files/Makefile.in.patch (rev 0)
+++ trunk/dports/mail/lbdb/files/Makefile.in.patch 2012-03-28 17:43:10 UTC (rev 91302)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2007-10-29 03:33:35.000000000 +1100
++++ Makefile.in 2012-03-29 04:36:57.000000000 +1100
+@@ -155,7 +155,7 @@
+
+ ABQuery/pbxbuild.sh:
+ if [ "$(XCODEBUILD)" != "no" ]; then \
+- (cd ABQuery; xcodebuild -buildstyle Deployment; printf '#!/bin/sh\nmkdir ABQuery/sym\nEXE=ABQuery/build/ABQuery\nif test -x ABQuery/build/Deployment/ABQuery; then EXE=ABQuery/build/Deployment/ABQuery; fi\ncp $$EXE ABQuery/sym\n' > pbxbuild.sh; chmod a+x pbxbuild.sh) \
++ (cd ABQuery; xcodebuild -configuration Deployment; printf '#!/bin/sh\nmkdir ABQuery/sym\nEXE=ABQuery/build/ABQuery\nif test -x ABQuery/build/Deployment/ABQuery; then EXE=ABQuery/build/Deployment/ABQuery; fi\ncp $$EXE ABQuery/sym\n' > pbxbuild.sh; chmod a+x pbxbuild.sh) \
+ else \
+ (cd ABQuery; pbxbuild -buildstyle Deployment export) \
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120328/0219514b/attachment.html>
More information about the macports-changes
mailing list