mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Unbreak build on 6.x
Submitted by: Bill Milford <bill xx themilfords.com>
This commit is contained in:
parent
12824fec6a
commit
4d17caab44
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=224690
@ -22,12 +22,13 @@ USE_OPENSSL= YES
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 700000
|
||||
BROKEN= does not compile on FreeBSD 6.x
|
||||
#Check for OPENSSL 0.9.8 in BASE: If not present require PORT
|
||||
.if !exists(${DESTDIR}/lib/libcrypto.so.5)
|
||||
WITH_OPENSSL_PORT= YES
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.prev
|
||||
@${SED} -e "s=%%SHLIB_MAJOR%%=${SHLIB_MAJOR}=g" \
|
||||
|
@ -8,8 +8,8 @@ SHLIB_MAJOR= %%SHLIB_MAJOR%%
|
||||
|
||||
LIBDIR= ${PREFIX}/lib
|
||||
INCLUDEDIR= ${PREFIX}/include
|
||||
CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLBASE}/include
|
||||
LDFLAGS+= -lcrypto -L${OPENSSLBASE}/lib
|
||||
CFLAGS+= -DOPENSSL_FIPS -I${OPENSSLINC}
|
||||
LDFLAGS+= -lcrypto -L${OPENSSLLIB}
|
||||
|
||||
NO_PROFILE=
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user