View | Details | Raw Unified | Return to bug 254204
Collapse All | Expand All

(-)devel/libtar/Makefile (-8 / +5 lines)
Lines 2-24 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	libtar
4
PORTNAME=	libtar
5
PORTVERSION=	1.2.11
5
PORTVERSION=	1.2.20
6
PORTREVISION=	2
6
DISTVERSIONPREFIX=	v
7
CATEGORIES=	devel
7
CATEGORIES=	devel
8
MASTER_SITES=	http://pkgs.fedoraproject.org/repo/pkgs/libtar/libtar-1.2.11.tar.gz/604238e8734ce6e25347a58c4f1a1d7e/
8
MASTER_SITES=	https://src.fedoraproject.org/repo/pkgs/libtar/libtar-v${PORTVERSION}.tar.gz/sha512/96c35d9f52cb0226a0431517090d191b138d905d646add2100b96db01b78de6d35f4d9d44db25d497781f9a5ab5b3b8fdc703ff9db92304938ec10d535c830e8/
9
9
10
MAINTAINER=	manuelj.munoz@gmail.com
10
MAINTAINER=	manuelj.munoz@gmail.com
11
COMMENT=	Library for manipulating POSIX and GNU tar files
11
COMMENT=	Library for manipulating POSIX and GNU tar files
12
12
13
USES=		cpe gmake
13
USES=		autoreconf cpe gmake libtool
14
GNU_CONFIGURE=	yes
14
GNU_CONFIGURE=	yes
15
CONFIGURE_ARGS=	--enable-shared
15
USE_LDCONFIG=	yes
16
USE_LDCONFIG=	yes
16
CPE_VENDOR=	feep
17
CPE_VENDOR=	feep
17
18
18
CPPFLAGS+=	-fPIC
19
CPPFLAGS+=	-fPIC
19
20
20
post-install:
21
	${INSTALL_LIB} ${WRKSRC}/lib/libtar.so.0 ${STAGEDIR}${PREFIX}/lib
22
	${LN} -sf libtar.so.0 ${STAGEDIR}${PREFIX}/lib/libtar.so
23
24
.include <bsd.port.mk>
21
.include <bsd.port.mk>
(-)devel/libtar/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (libtar-1.2.11.tar.gz) = 4a2eefb6b7088f41de57356e5059cbf1f917509b4a810f7c614625a378e87bb8
1
TIMESTAMP = 1615405117
2
SIZE (libtar-1.2.11.tar.gz) = 145354
2
SHA256 (libtar-v1.2.20.tar.gz) = 8f207e8323a1ad470787f94e76e9fefbe8939989e334b6b0e900a03615dabf20
3
SIZE (libtar-v1.2.20.tar.gz) = 63550
(-)devel/libtar/files/patch-lib_Makefile.in (-25 lines)
Removed Link Here
1
--- lib/Makefile.in.orig	Wed Jul 13 00:04:25 2005
2
+++ lib/Makefile.in	Wed Jul 13 00:08:12 2005
3
@@ -56,8 +56,10 @@
4
 		  ${srcdir}/libtar.h \
5
 		  ${srcdir}/internal.h \
6
 		  ../listhash/libtar_listhash.h
7
-LIBTAR_LIBS	= ./libtar.a
8
-ALL		= libtar.a
9
+LIBTAR_LIBS	= ./libtar.a 
10
+SHARED_LIB	= libtar.so
11
+SHARED_LIB_VER	= $(SHARED_LIB).0
12
+ALL		= libtar.a $(SHARED_LIB_VER)
13
 
14
 DISTCLEANFILES	= ../listhash/libtar_listhash.h \
15
 		  ../listhash/libtar_list.c \
16
@@ -71,6 +73,9 @@
17
 libtar.a: ${LIBTAR_OBJS} ${LIBOBJS}
18
 	${AR} rc libtar.a ${LIBTAR_OBJS} ${LIBOBJS}
19
 	${RANLIB} libtar.a
20
+
21
+${SHARED_LIB_VER}: libtar.a ${LIBTAR_OBJS} ${LIBOBJS}
22
+	 ${CC} ${CFLAGS} -shared -Wl,-soname,${SHARED_LIB_VER} -o ${SHARED_LIB_VER} ${LIBTAR_OBJS} ${LIBOBJS} ${LDFLAGS}
23
 
24
 ${LIBTAR_OBJS}: ${LIBTAR_HDRS}
25
 
(-)devel/libtar/pkg-plist (+1 lines)
Lines 4-9 include/libtar_listhash.h Link Here
4
lib/libtar.a
4
lib/libtar.a
5
lib/libtar.so
5
lib/libtar.so
6
lib/libtar.so.0
6
lib/libtar.so.0
7
lib/libtar.so.0.0.0
7
man/man3/TH_ISBLK.3.gz
8
man/man3/TH_ISBLK.3.gz
8
man/man3/TH_ISCHR.3.gz
9
man/man3/TH_ISCHR.3.gz
9
man/man3/TH_ISDIR.3.gz
10
man/man3/TH_ISDIR.3.gz

Return to bug 254204