diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-06-16 15:03:10 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-06-16 15:03:10 +0000 |
commit | 3209d0ed2cc143797c8daed23af744fac7bae88f (patch) | |
tree | 860c1e7d1aa2270dd945fbd7842cb80ebf687386 /news/suck/Makefile | |
parent | c00b0f53f4a755b319b5a5939106cfe959913672 (diff) |
Notes
Diffstat (limited to 'news/suck/Makefile')
-rw-r--r-- | news/suck/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/news/suck/Makefile b/news/suck/Makefile index 92f4c61eb287..02536a38d043 100644 --- a/news/suck/Makefile +++ b/news/suck/Makefile @@ -31,18 +31,20 @@ BUILD_DEPENDS+= ${LOCALBASE}/news/lib/libinn.a:${PORTSDIR}/news/inn .include <bsd.port.pre.mk> .if defined(SUCK_WITH_SSL) || defined(WITH_SSL) -.include <${PORTSDIR}/security/openssl/Makefile.ssl> +.include "${PORTSDIR}/security/openssl/Makefile.ssl" MAKE_ENV+= SSL_LIB="-lssl -lcrypto" MAKE_ENV+= SSL_DEFS="-I${OPENSSLINC} -DHAVE_LIBSSL" MAKE_ENV+= SSL_LIB_LOC="-L${OPENSSLLIB}" .endif post-patch: - @${PERL5} -pi -e "s=/usr/local/=${LOCALBASE}/=" ${WRKSRC}/Makefile.in - @${PERL5} -pi -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ - ${WRKSRC}/suck_config.h - @${PERL5} -pi -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \ - ${WRKSRC}/suck_config.h + @${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.sed + ${SED} -e "s=/usr/local/=${LOCALBASE}/=" \ + ${WRKSRC}/Makefile.in.sed > ${WRKSRC}/Makefile.in + @${MV} ${WRKSRC}/suck_config.h ${WRKSRC}/suck_config.h.sed + ${SED} -e "s=/usr/local/lib/suck=${PREFIX}/lib/suck=" \ + -e "s=/usr/local/news/lib=${LOCALBASE}/news/lib=" \ + ${WRKSRC}/suck_config.h.sed > ${WRKSRC}/suck_config.h .if !defined(NOPORTDOCS) post-install: |