diff options
author | miwi <miwi@FreeBSD.org> | 2014-06-04 19:46:45 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2014-06-04 19:46:45 +0800 |
commit | 51783f6ca544b585fed1f0a399aa81c964b4fade (patch) | |
tree | 1f16f2e4962fe1a97bf20123f251fcd2cdd42887 /comms/syncterm/Makefile | |
parent | c78f8e5b100d8ec5c4132471118c243180691421 (diff) | |
download | freebsd-ports-gnome-51783f6ca544b585fed1f0a399aa81c964b4fade.tar.gz freebsd-ports-gnome-51783f6ca544b585fed1f0a399aa81c964b4fade.tar.zst freebsd-ports-gnome-51783f6ca544b585fed1f0a399aa81c964b4fade.zip |
- Update to latest
PR: 190598
Submitted by: maintainer
Diffstat (limited to 'comms/syncterm/Makefile')
-rw-r--r-- | comms/syncterm/Makefile | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/comms/syncterm/Makefile b/comms/syncterm/Makefile index 243851900201..6840cedb92e6 100644 --- a/comms/syncterm/Makefile +++ b/comms/syncterm/Makefile @@ -3,19 +3,26 @@ PORTNAME= syncterm PORTVERSION= 0.9.${PORTVER} -PORTREVISION= 1 CATEGORIES= comms -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.9.4 +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-0.9.5 DISTNAME= syncterm-src-${PORTVER} EXTRACT_SUFX= .tgz MAINTAINER= shurd@sasktel.net COMMENT= ANSI-BBS terminal which supports telnet, rlogin, and SSH -WRKSRC= ${WRKDIR}/syncterm-${PORTVER} +LICENSE= GPLv2 + +WRKSRC= ${WRKDIR}/syncterm-${PORTVER}/src/syncterm USES= gmake MAKEFILE= GNUmakefile -PORTVER= 20110320 +MAKE_ARGS+= DONT_CLOBBER_CC=please +PORTVER= 20140603 +INSTALLS_ICONS= yes +PLIST_FILES= bin/syncterm \ + man/man1/syncterm.1.gz \ + share/applications/syncterm.desktop \ + share/icons/hicolor/64x64/apps/syncterm.png OPTIONS_DEFINE= X11 SDL DEBUG OPTIONS_DEFAULT= X11 SDL @@ -27,11 +34,13 @@ ONLY_FOR_ARCHS_REASON= does not configure except on i386 amd64 .if ${ARCH} == "i386" || ${ARCH} == "amd64" LIB_DEPENDS+= libcl.so:${PORTSDIR}/security/cryptlib + MAKE_ARGS+= CRYPTLIBINCLUDE=${LOCALBASE}/include + MAKE_ARGS+= CRYPTLIBDIR=${LOCALBASE}/lib .else MAKE_ARGS+= WITHOUT_CRYPTLIB=yes .endif MAKE_ARGS+= WITHOUT_PORTAUDIO=yes -MAKE_ARGS+= -C syncterm +MAKE_ARGS+= -C ${WRKSRC} MAKE_ARGS+= PREFIX="${PREFIX}" MAKE_ARGS+= INSTALL_EXE="${INSTALL_PROGRAM}" .if ${PORT_OPTIONS:MX11} @@ -49,4 +58,7 @@ MAKE_ARGS+= DEBUG=1 MAKE_ARGS+= RELEASE=1 .endif +pre-build: + if ( nm -D ${LOCALBASE}/lib/libcl.so | ${GREP} 'U __stack_chk_fail_local' ) then echo "LDFLAGS+=-fstack-protector" >> ${WRKSRC}/localdefs.mk ; fi + .include <bsd.port.mk> |