diff --git a/security/certmonger/Makefile b/security/certmonger/Makefile index 96e44017f2ce..fca6438d950a 100644 --- a/security/certmonger/Makefile +++ b/security/certmonger/Makefile @@ -1,6 +1,6 @@ PORTNAME= certmonger DISTVERSION= 0.79.20 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= security MASTER_SITES= https://pagure.io/certmonger/archive/${DISTVERSION}/ @@ -31,6 +31,12 @@ CFLAGS+= -L${PREFIX}/lib -lintl # There appears to be some hardcoded gettext dependencies #OPTIONS_DEFINE= NLS +post-patch: + ${REINPLACE_CMD} -e 's|"/etc/ipa|"${PREFIX}/etc/ipa|g' \ + ${WRKSRC}/src/dogtag-ipa.c \ + ${WRKSRC}/src/dogtag.c \ + ${WRKSRC}/src/ipa.c + post-install: ${MV} ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf \ ${STAGEDIR}${ETCDIR}/${PORTNAME}.conf.sample