diff -ruN --exclude=CVS /usr/ports/devel/libopendaap.orig/Makefile /usr/ports/devel/libopendaap/Makefile --- /usr/ports/devel/libopendaap.orig/Makefile Thu Apr 29 03:52:51 2004 +++ /usr/ports/devel/libopendaap/Makefile Thu Apr 29 15:44:08 2004 @@ -6,29 +6,30 @@ # PORTNAME= libopendaap -PORTVERSION= 0.1.3 +PORTVERSION= 0.2.0 CATEGORIES= devel net MASTER_SITES= http://crazney.net/programs/itunes/files/ MAINTAINER= ahze@ahze.net COMMENT= C lib used to connect to iTunes(R) music shares +SHLIB_VER= 1 USE_BZIP2= yes USE_REINPLACE= yes -USE_GNOME= gnomehack pkgconfig lthack -USE_LIBTOOL_VER=13 +USE_GNOME= gnomehack pkgconfig lthack gnometarget +USE_LIBTOOL_VER=15 USE_GCC= 3.3 +PLIST_SUB= SHLIB_VER="${SHLIB_VER}" CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" INSTALLS_SHLIB= yes -pre-everything:: - @${ECHO_MSG} "This version does NOT work with iTunes 4.5" - post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|' \ ${WRKSRC}/Makefile.am \ ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|%%SHLIB_VER%%|.${SHLIB_VER}|' \ + ${WRKSRC}/ltmain.sh .include <bsd.port.mk> diff -ruN --exclude=CVS /usr/ports/devel/libopendaap.orig/distinfo /usr/ports/devel/libopendaap/distinfo --- /usr/ports/devel/libopendaap.orig/distinfo Thu Apr 29 03:52:51 2004 +++ /usr/ports/devel/libopendaap/distinfo Thu Apr 29 15:44:10 2004 @@ -1,2 +1,2 @@ -MD5 (libopendaap-0.1.3.tar.bz2) = 72bdf1e6ef9ed0150923bd2f1debf4eb -SIZE (libopendaap-0.1.3.tar.bz2) = 337980 +MD5 (libopendaap-0.2.0.tar.bz2) = 7d5085ae1f7173760b69dbbfe6112b02 +SIZE (libopendaap-0.2.0.tar.bz2) = 338569 diff -ruN --exclude=CVS /usr/ports/devel/libopendaap.orig/files/patch-ltmain.sh /usr/ports/devel/libopendaap/files/patch-ltmain.sh --- /usr/ports/devel/libopendaap.orig/files/patch-ltmain.sh Wed Dec 31 19:00:00 1969 +++ /usr/ports/devel/libopendaap/files/patch-ltmain.sh Thu Apr 29 15:44:19 2004 @@ -0,0 +1,13 @@ +--- ltmain.sh.orig Thu Apr 29 15:26:15 2004 ++++ ltmain.sh Thu Apr 29 15:26:44 2004 +@@ -2980,8 +2980,8 @@ + ;; + + freebsd-elf) +- major=".$current" +- versuffix=".$current"; ++ major="%%SHLIB_VER%%" ++ versuffix="%%SHLIB_VER%%"; + ;; + + irix | nonstopux) diff -ruN --exclude=CVS /usr/ports/devel/libopendaap.orig/pkg-plist /usr/ports/devel/libopendaap/pkg-plist --- /usr/ports/devel/libopendaap.orig/pkg-plist Fri Mar 12 09:22:28 2004 +++ /usr/ports/devel/libopendaap/pkg-plist Thu Apr 29 15:44:40 2004 @@ -1,6 +1,7 @@ include/daap/client.h lib/libopendaap.a +lib/libopendaap.la lib/libopendaap.so -lib/libopendaap.so.0 +lib/libopendaap.so.%%SHLIB_VER%% libdata/pkgconfig/opendaap.pc @dirrm include/daap