diff options
author | Michael Johnson <ahze@FreeBSD.org> | 2006-05-28 22:43:58 +0000 |
---|---|---|
committer | Michael Johnson <ahze@FreeBSD.org> | 2006-05-28 22:43:58 +0000 |
commit | 39f789dc8390a449c9c785336c2561336687b512 (patch) | |
tree | b66adc17c6441467f3f40b4c14999a9f8203947b /multimedia/gpac-libgpac | |
parent | 5ac12e3e604be11dcc530befa041fae01ef8c5bd (diff) | |
download | ports-39f789dc8390a449c9c785336c2561336687b512.tar.gz ports-39f789dc8390a449c9c785336c2561336687b512.zip |
Notes
Diffstat (limited to 'multimedia/gpac-libgpac')
-rw-r--r-- | multimedia/gpac-libgpac/Makefile | 7 | ||||
-rw-r--r-- | multimedia/gpac-libgpac/distinfo | 6 | ||||
-rw-r--r-- | multimedia/gpac-libgpac/files/patch-src_Makefile | 19 | ||||
-rw-r--r-- | multimedia/gpac-libgpac/pkg-plist | 1 |
4 files changed, 28 insertions, 5 deletions
diff --git a/multimedia/gpac-libgpac/Makefile b/multimedia/gpac-libgpac/Makefile index e88daa808c19..a97027078ba5 100644 --- a/multimedia/gpac-libgpac/Makefile +++ b/multimedia/gpac-libgpac/Makefile @@ -6,7 +6,8 @@ # PORTNAME= gpac-libgpac -DISTVERSION= 0.4.0 +DISTVERSION= 0.4.0-rc2 +PORTEPOCH= 1 CATEGORIES= multimedia MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= gpac @@ -23,6 +24,7 @@ INSTALLS_SHLIB= yes BUILD_WRKSRC= ${WRKSRC}/src INSTALL_WRKSRC= ${WRKSRC}/bin/gcc +LIBVER= 1 CONFIGURE_ARGS= --cc="${CC}" \ --extra-cflags="${CFLAGS} ${PTHREAD_CFLAGS} -fPIC" \ @@ -42,7 +44,8 @@ do-install: ${MKDIR} ${PREFIX}/include/gpac cd ${WRKSRC}/include/gpac && ${FIND} . | \ ${CPIO} -vpdm -L -R ${LIBOWN}:${LIBGRP} ${PREFIX}/include/gpac - ${INSTALL_DATA} ${INSTALL_WRKSRC}/libgpac.so ${PREFIX}/lib + ${INSTALL_DATA} ${INSTALL_WRKSRC}/libgpac.so.${LIBVER} ${PREFIX}/lib + ${LN} -sf libgpac.so.${LIBVER} ${PREFIX}/lib/libgpac.so ${INSTALL_DATA} ${INSTALL_WRKSRC}/libgpac_static.a ${PREFIX}/lib .include <bsd.port.post.mk> diff --git a/multimedia/gpac-libgpac/distinfo b/multimedia/gpac-libgpac/distinfo index ccccf7eb008c..5ea78ddf84f9 100644 --- a/multimedia/gpac-libgpac/distinfo +++ b/multimedia/gpac-libgpac/distinfo @@ -1,3 +1,3 @@ -MD5 (gpac-0.4.0.tar.gz) = a8b4b3206cabda946850240f1e7aea93 -SHA256 (gpac-0.4.0.tar.gz) = 540f236252c4b58bcc3b286cf4168341416deeb58ad1cad2e30f7ecd70c8ae50 -SIZE (gpac-0.4.0.tar.gz) = 2836606 +MD5 (gpac-0.4.0-rc2.tar.gz) = 8c303f638c53559516820c0b21244e13 +SHA256 (gpac-0.4.0-rc2.tar.gz) = f4a55dfc041bab74fe7a2d5b2b3abf83d011ec8a7e96c5d2c85c4752f61bfa83 +SIZE (gpac-0.4.0-rc2.tar.gz) = 2861855 diff --git a/multimedia/gpac-libgpac/files/patch-src_Makefile b/multimedia/gpac-libgpac/files/patch-src_Makefile new file mode 100644 index 000000000000..46cf89ef473e --- /dev/null +++ b/multimedia/gpac-libgpac/files/patch-src_Makefile @@ -0,0 +1,19 @@ +--- src/Makefile.orig Mon Aug 1 16:43:11 2005 ++++ src/Makefile Sun May 28 18:40:47 2006 +@@ -24,7 +24,7 @@ + endif + + +-LIB=libgpac.$(DYN_LIB_SUFFIX) ++LIB=libgpac.$(DYN_LIB_SUFFIX).1 + ifeq ($(CONFIG_WIN32),yes) + LDFLAGS+=-export-symbols libgpac.def + else +@@ -33,6 +33,7 @@ + endif + EXTRALIBS+=$(GPAC_SH_FLAGS) + endif ++EXTRALIBS+=-Wl,-soname,$(LIB) + + all: lib + diff --git a/multimedia/gpac-libgpac/pkg-plist b/multimedia/gpac-libgpac/pkg-plist index f0c87f80232e..74cded008454 100644 --- a/multimedia/gpac-libgpac/pkg-plist +++ b/multimedia/gpac-libgpac/pkg-plist @@ -56,6 +56,7 @@ include/gpac/utf.h include/gpac/xml.h include/gpac/yuv.h lib/libgpac.so +lib/libgpac.so.1 lib/libgpac_static.a @dirrm include/gpac/modules @dirrm include/gpac/internal |