diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-07 09:36:53 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-10-07 09:36:53 +0800 |
commit | 5c321885a2c36b6f55029a3ce83ca7f62dc8f8a4 (patch) | |
tree | ba31e0d8e8af67ae5a4e7fbf52a4d9513b10bd3d /x11 | |
parent | b25675db371548f632b6b1571ef79e1b6d379448 (diff) | |
download | freebsd-ports-gnome-5c321885a2c36b6f55029a3ce83ca7f62dc8f8a4.tar.gz freebsd-ports-gnome-5c321885a2c36b6f55029a3ce83ca7f62dc8f8a4.tar.zst freebsd-ports-gnome-5c321885a2c36b6f55029a3ce83ca7f62dc8f8a4.zip |
- Switch to options helpers
- Only use pkg-message specific to WCHAR option when the option is enabled
- Drop 8.x support
Approved by: portmgr blanket
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xterm/Makefile | 9 | ||||
-rw-r--r-- | x11/xterm/pkg-message.wchar (renamed from x11/xterm/pkg-message) | 0 |
2 files changed, 1 insertions, 8 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile index 715a1fff5074..a0efc47940a6 100644 --- a/x11/xterm/Makefile +++ b/x11/xterm/Makefile @@ -48,6 +48,7 @@ OPTIONS_DEFAULT=WCHAR LUIT 256COLOR LUIT_BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit LUIT_CONFIGURE_ENABLE= luit WCHAR_CONFIGURE_ENABLE= wide-chars +WCHAR_VARS= PKGMESSAGE="${PKGDIR}/pkg-message.wchar" DECTERM_CONFIGURE_ENABLE= dec-locator PCRE_CONFIGURE_WITH= pcre PCRE_LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre @@ -68,10 +69,6 @@ NEXTAW_LIB_DEPENDS= libneXtaw.so:${PORTSDIR}/x11-toolkits/neXtaw USE_XORG+= xaw .endif -.if ${OSVERSION} < 900004 -LIB_DEPENDS+= libutempter.so:${PORTSDIR}/sysutils/libutempter -.endif - post-extract: @${CP} ${WRKDIR}/bsd-xterm-icons-1/*.png \ ${WRKDIR}/bsd-xterm-icons-1/*.xpm \ @@ -84,8 +81,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/xterm.desktop \ ${STAGEDIR}${PREFIX}/share/applications/ -.if ${PORT_OPTIONS:MWCHAR} - @${CAT} ${PKGMESSAGE} -.endif - .include <bsd.port.mk> diff --git a/x11/xterm/pkg-message b/x11/xterm/pkg-message.wchar index 1de1a06ed8d6..1de1a06ed8d6 100644 --- a/x11/xterm/pkg-message +++ b/x11/xterm/pkg-message.wchar |