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

(-)libscrypt/Makefile (-6 / +17 lines)
Lines 1-8 Link Here
1
# Created by: Horia Racoviceanu <horia@racoviceanu.com>
1
# Created by: Horia Racoviceanu <horia@racoviceanu.com>
2
# $FreeBSD: security/libscrypt/Makefile 323838 2013-07-28 16:51:54Z vanilla $
2
# $FreeBSD$
3
3
4
PORTNAME=	libscrypt
4
PORTNAME=	libscrypt
5
PORTVERSION=	1.1
5
PORTVERSION=	1.13
6
CATEGORIES=	security
6
CATEGORIES=	security
7
7
8
MAINTAINER=	horia@racoviceanu.com
8
MAINTAINER=	horia@racoviceanu.com
Lines 14-20 Link Here
14
USE_LDCONFIG=	yes
14
USE_LDCONFIG=	yes
15
USE_GITHUB=	yes
15
USE_GITHUB=	yes
16
GH_ACCOUNT=	technion
16
GH_ACCOUNT=	technion
17
GH_COMMIT=	49f9136
17
GH_COMMIT=	a217e5b
18
GH_TAGNAME=	v${PORTVERSION}
18
GH_TAGNAME=	v${PORTVERSION}
19
19
20
PLIST_FILES+=	include/libscrypt.h \
20
PLIST_FILES+=	include/libscrypt.h \
Lines 22-32 Link Here
22
		lib/libscrypt.so \
22
		lib/libscrypt.so \
23
		lib/libscrypt.so.0
23
		lib/libscrypt.so.0
24
24
25
.include <bsd.port.pre.mk>
26
27
.if ${ARCH} == i386
28
CCVERSION!=	${CC} --version
29
.  if !empty(CCVERSION:tl:M*gcc*)
30
# gcc+i386+-fstack-protector fails with undefined reference to `__stack_chk_fail_local'
31
CFLAGS+=	-fno-stack-protector
32
.  endif
33
.endif
34
25
post-patch:
35
post-patch:
26
	${REINPLACE_CMD} -e '/^CC=gcc/d' -e '/CFLAGS=/s,$$, ${CFLAGS},' \
36
	@${REINPLACE_CMD} -e '/^CC=gcc/d' -e '/CFLAGS=/s,$$, ${CFLAGS},' \
27
	    -e 's,/usr/local,${PREFIX},' ${WRKSRC}/Makefile
37
	    -e 's,/usr/local,${PREFIX},' -e 's,install: library,& install-static,' \
38
	    -e 's,$$(LDFLAGS),,' ${WRKSRC}/Makefile
28
39
29
regression-test: build
40
regression-test: build
30
	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)
41
	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} check)
31
42
32
.include <bsd.port.mk>
43
.include <bsd.port.post.mk>
(-)libscrypt/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (libscrypt-1.1.tar.gz) = f6cec579980850604267566731e12d985f16739cd92b828fe28c326f6a7ee798
1
SHA256 (libscrypt-1.13.tar.gz) = 603c029cdff9b993d42eb1d48882ae6fb9083dfad6b4ecf154e935805d150dcd
2
SIZE (libscrypt-1.1.tar.gz) = 20276
2
SIZE (libscrypt-1.13.tar.gz) = 20503

Return to bug 181286