FreeBSD Bugzilla – Attachment 186401 Details for
Bug 222344
security/libargon2: Add pkgconfig file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch argon2 to install a pkgconfig data file
argon2 (text/plain), 1.60 KB, created by
Christopher Hall
on 2017-09-15 01:26:58 UTC
(
hide
)
Description:
patch argon2 to install a pkgconfig data file
Filename:
MIME Type:
Creator:
Christopher Hall
Created:
2017-09-15 01:26:58 UTC
Size:
1.60 KB
patch
obsolete
>Index: ports/security/libargon2/Makefile >=================================================================== >--- ports.orig/security/libargon2/Makefile >+++ ports/security/libargon2/Makefile >@@ -3,6 +3,7 @@ > > PORTNAME= libargon2 > PORTVERSION= 20161029 >+PORTREVISION= 1 > CATEGORIES= security devel > > MAINTAINER= hsw@bitmark.com >@@ -11,20 +12,28 @@ COMMENT= Memory hard password hashing pr > LICENSE= CC0-1.0 > LICENSE_FILE= ${WRKSRC}/LICENSE > >+USES= gmake >+USE_LDCONFIG= yes >+ > USE_GITHUB= yes > GH_ACCOUNT= P-H-C > GH_PROJECT= phc-winner-argon2 > >-USES= gmake >-USE_LDCONFIG= yes >- > MAKE_JOBS_UNSAFE= yes > >+# remove multiarch as this is only for Linux >+SUBST= s/@HOST_MULTIARCH@//g; >+SUBST+= s/@UPSTREAM_VER@/${PORTVERSION}/g; >+SUBST+= s@/usr@${PREFIX}@g; >+SUBST+= s/-lrt//g;s/-ldl//g; >+SUBST+= s@Cflags:@Cflags: -I$${includedir}/@; >+ > do-install: > ${INSTALL_DATA} ${WRKSRC}/include/argon2.h ${STAGEDIR}${PREFIX}/include > ${INSTALL_DATA} ${WRKSRC}/libargon2.a ${STAGEDIR}${PREFIX}/lib > ${INSTALL_LIB} ${WRKSRC}/libargon2.so ${STAGEDIR}${PREFIX}/lib > ${INSTALL_PROGRAM} ${WRKSRC}/argon2 ${STAGEDIR}${PREFIX}/bin > ${INSTALL_MAN} ${WRKSRC}/man/argon2.1 ${STAGEDIR}${PREFIX}/man/man1 >+ ${SED} '${SUBST}' < ${WRKSRC}/libargon2.pc > ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libargon2.pc > > .include <bsd.port.mk> >Index: ports/security/libargon2/pkg-plist >=================================================================== >--- ports.orig/security/libargon2/pkg-plist >+++ ports/security/libargon2/pkg-plist >@@ -2,4 +2,5 @@ bin/argon2 > include/argon2.h > lib/libargon2.a > lib/libargon2.so >+libdata/pkgconfig/libargon2.pc > man/man1/argon2.1.gz
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dbaio
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 222344
: 186401