Ticket #25226: talloc.patch

File talloc.patch, 2.9 KB (added by kthenriksson@…, 14 years ago)

Add talloc portfile

  • dports/devel/talloc/files/patch-Makefilein.diff

     
     1--- Makefile.in.orig    2009-10-11 09:42:24.000000000 -0400
     2+++ Makefile.in 2010-06-12 21:05:54.000000000 -0400
     3@@ -39,7 +39,7 @@
     4 @TALLOC_COMPAT1_MK@
     5 
     6 $(TALLOC_SOLIB): $(LIBOBJ)
     7-       $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) $(SONAMEFLAG)$(TALLOC_SONAME)
     8+       $(SHLD) $(SHLD_FLAGS) -o $@ $(LIBOBJ) $(VERSIONSCRIPT) $(EXPORTSFILE) @SONAMEFLAG@$(TALLOC_SONAME)
     9 
     10 shared-build: all
     11        ${INSTALLCMD} -d $(sharedbuilddir)/lib
  • dports/devel/talloc/files/patch-tallocmk.diff

     
     1--- talloc.mk.orig      2010-06-12 22:12:56.000000000 -0400
     2+++ talloc.mk   2010-06-12 22:13:05.000000000 -0400
     3@@ -23,8 +23,8 @@
     4        ${INSTALLCMD} -m 644 talloc.pc $(DESTDIR)$(libdir)/pkgconfig
     5        if [ -f talloc.3 ];then ${INSTALLCMD} -d $(DESTDIR)$(mandir)/man3; fi
     6        if [ -f talloc.3 ];then ${INSTALLCMD} -m 644 talloc.3 $(DESTDIR)$(mandir)/man3; fi
     7-       which swig >/dev/null 2>&1 && ${INSTALLCMD} -d $(DESTDIR)`swig -swiglib` || true
     8-       which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib` || true
     9+#      which swig >/dev/null 2>&1 && ${INSTALLCMD} -d $(DESTDIR)`swig -swiglib` || true
     10+#      which swig >/dev/null 2>&1 && ${INSTALLCMD} -m 644 talloc.i $(DESTDIR)`swig -swiglib` || true
     11 
     12 doc:: talloc.3 talloc.3.html
     13 
  • dports/devel/talloc/Portfile

     
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
     2# $Id$
     3
     4PortSystem          1.0
     5
     6name                talloc
     7version             2.0.1
     8categories          devel
     9platforms           darwin
     10maintainers         nomaintainer
     11description         Hierarchical memory allocation library
     12long_description    talloc is a hierarchical, reference counted memory pool \
     13                    system with destructors. It is the core memory allocator \
     14                    used in Samba.
     15homepage            http://talloc.samba.org/
     16master_sites        http://samba.org/ftp/talloc/
     17
     18checksums           md5     c6e736540145ca58cb3dcb42f91cf57b \
     19                    sha1    40453d01e3676832150cefe0a057835d3a847ac1 \
     20                    rmd160  b6d28a9f913c5d3abe2098d8b571bd293156ae1c
     21
     22depends_build       port:pkgconfig
     23
     24universal_variant   no
     25
     26patchfiles          patch-Makefilein.diff patch-tallocmk.diff