In Mac OS, create the Framework in $(DESTDIR) not in /
authorPete Fotheringham <pete.fotheringham@codethink.co.uk>
Fri, 30 Dec 2011 15:36:48 +0000 (15:36 +0000)
committerPete Fotheringham <pete.fotheringham@codethink.co.uk>
Fri, 30 Dec 2011 15:36:48 +0000 (15:36 +0000)
Makefile.am

index d6005fb..c2bdf33 100644 (file)
@@ -77,7 +77,7 @@ dist-hook:
        @find $(distdir) -name CVS -print | xargs -t rm -rf
        (cd $(distdir)/plugins && sh makeinit.sh)
 
        @find $(distdir) -name CVS -print | xargs -t rm -rf
        (cd $(distdir)/plugins && sh makeinit.sh)
 
-framedir = /Library/Frameworks/SASL2.framework
+framedir = $(DESTDIR)/Library/Frameworks/SASL2.framework
 install-exec-local: $(INSTALLOSX)
        @if test "$(plugindir)" != "$(prefix)/lib/sasl2"; then \
          echo "********************************************************"; \
 install-exec-local: $(INSTALLOSX)
        @if test "$(plugindir)" != "$(prefix)/lib/sasl2"; then \
          echo "********************************************************"; \