diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2003-03-24 12:37:33 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2003-03-24 12:37:33 +0000 |
commit | 0daf883abcf1b1c7f613e041be87b657188f0976 (patch) | |
tree | f5de31d6a258f6f59ea756074162fbde04c9d164 /comms | |
parent | 0baa1edf3318c1a9be0ea0ce43a2590c7b2ab3fb (diff) | |
download | ports-0daf883abcf1b1c7f613e041be87b657188f0976.tar.gz ports-0daf883abcf1b1c7f613e041be87b657188f0976.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/kermit/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile index 98cd8126fa2d..b95b74d26ef7 100644 --- a/comms/kermit/Makefile +++ b/comms/kermit/Makefile @@ -21,13 +21,22 @@ MAN1= kermit.1 MAKEFILE= makefile ALL_TARGET= krbmit + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 470103 +OPENSSL_097= -DOPENSSL_097 +.else +OPENSSL_097= +.endif + MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \ CFLAGS="${CFLAGS} -I${OPENSSLINC} \ -DBSD44 -DCK_NCURSES -DCK_NEWTERM \ -DTCPSOCKET -DNOCOTFMC -DFREEBSD4 -DUSE_UU_LOCK -DFNFLOAT \ -funsigned-char -DTPUTSARGTYPE=int -DUSE_STRERROR -DCKHTTP \ -DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES \ - -DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097" \ + -DOPENSSL_DES_LIBDES_COMPATIBILITY ${OPENSSL_097}" \ LIBS="-L${OPENSSLLIB} \ -lssl -lcrypto -lncurses -lcrypt -lutil -lm" @@ -46,4 +55,4 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/ckermit.ini ${EXAMPLESDIR}/dot.kermrc ${INSTALL_DATA} ${WRKSRC}/ckermod.ini ${EXAMPLESDIR}/dot.mykermrc -.include <bsd.port.mk> +.include <bsd.port.post.mk> |