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

(-)b/devel/genht/Makefile (+27 lines)
Added Link Here
1
PORTNAME=	genht
2
DISTVERSION=	1.1.3
3
CATEGORIES=	devel
4
MASTER_SITES=	http://www.repo.hu/projects/genht/releases/
5
6
MAINTAINER=	fuz@fuz.su
7
COMMENT=	Simple generic hash table implementation in C
8
9
LICENSE=	PD
10
11
USES=		tar:bz2
12
13
MAKE_ARGS+=	PREFIX=${PREFIX} \
14
		GENHT_CFLAGS='${CFLAGS}' \
15
		GENHT_LDFLAGS='${STRIP} ${LDFLAGS}'
16
17
PORTEXAMPLES=	Makefile example.c examplev.c
18
19
OPTIONS_DEFINE=	EXAMPLES
20
21
post-install-EXAMPLES-on:
22
	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
23
.for f in ${PORTEXAMPLES}
24
	${INSTALL_DATA} ${WRKSRC}/doc/$f ${STAGEDIR}${EXAMPLESDIR}
25
.endfor
26
27
.include <bsd.port.mk>
(-)b/devel/genht/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1658043005
2
SHA256 (genht-1.1.3.tar.bz2) = 9861a35c30b5d0023c5f50fa8bb44c3e1df15c232de155888faa492f71f3b1cc
3
SIZE (genht-1.1.3.tar.bz2) = 10936
(-)b/devel/genht/files/patch-src_Makefile (+11 lines)
Added Link Here
1
--- src/Makefile.orig	2022-07-17 07:03:04 UTC
2
+++ src/Makefile
3
@@ -35,7 +35,7 @@ mainsi: mainsi.o htsi.o
4
 	$(CC) -o $@ mainsi.o htsi.o $(LDFLAGS)
5
 
6
 $(LIBSO): $(OBJS)
7
-	$(CC) $(LDFLAGS) -shared -dynamic -rdynamic -o $@ $(OBJS)
8
+	$(CC) $(LDFLAGS) -shared -dynamic -rdynamic -Wl,-soname,$(LIBSO1) -o $@ $(OBJS)
9
 
10
 $(LIBA): $(OBJS)
11
 	ar rvu $@ $(OBJS)
(-)b/devel/genht/pkg-descr (+5 lines)
Added Link Here
1
genht is a simple generic hash table implementation in C.
2
Uses open addressing scheme with space doubling.
3
Type generics is achieved by ugly name prefixing macros.
4
5
WWW: http://www.repo.hu/projects/genht/
(-)b/devel/genht/pkg-plist (-1 / +17 lines)
Added Link Here
0
- 
1
include/genht/hash.h
2
include/genht/ht.c
3
include/genht/ht.h
4
include/genht/ht_inlines.h
5
include/genht/ht_utils.h
6
include/genht/htip.h
7
include/genht/htpi.h
8
include/genht/htpp.h
9
include/genht/htsi.h
10
include/genht/htsp.h
11
include/genht/htss.h
12
include/genht/siphash24.h
13
include/genht/version.h
14
lib/libgenht.a
15
lib/libgenht.so
16
lib/libgenht.so.1
17
lib/libgenht.so.1.1.3

Return to bug 265261