aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2018-11-02 21:32:34 +0800
committerrene <rene@FreeBSD.org>2018-11-02 21:32:34 +0800
commitabe85598b76e65884f63f5d35b14a7a5837c77ee (patch)
tree2c2c3d0def8d9d1ad349013f7b532f0065f57789 /x11
parenta6ebb885ab3952f319e4a2e650eba1580d82a26e (diff)
downloadfreebsd-ports-gnome-abe85598b76e65884f63f5d35b14a7a5837c77ee.tar.gz
freebsd-ports-gnome-abe85598b76e65884f63f5d35b14a7a5837c77ee.tar.zst
freebsd-ports-gnome-abe85598b76e65884f63f5d35b14a7a5837c77ee.zip
Remove compatibility code for FreeBSD < 11.2 from all ports.
Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724
Diffstat (limited to 'x11')
-rw-r--r--x11/fluxbg/Makefile10
-rw-r--r--x11/gnome-shell/pkg-message8
-rw-r--r--x11/sterm/Makefile2
-rw-r--r--x11/sterm/files/pkg-message.in14
-rw-r--r--x11/xlockmore/Makefile2
5 files changed, 2 insertions, 34 deletions
diff --git a/x11/fluxbg/Makefile b/x11/fluxbg/Makefile
index a10349e2827a..192db102f7bc 100644
--- a/x11/fluxbg/Makefile
+++ b/x11/fluxbg/Makefile
@@ -25,12 +25,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/src/fluxbg_conf.cc
-.include <bsd.port.pre.mk>
-
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
-# chmod -R bug
-post-extract:
- ${CHMOD} +x ${WRKSRC}/autom4te.cache
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/x11/gnome-shell/pkg-message b/x11/gnome-shell/pkg-message
index e0f247cadbe4..42f1f2ba077b 100644
--- a/x11/gnome-shell/pkg-message
+++ b/x11/gnome-shell/pkg-message
@@ -9,11 +9,3 @@ gdm user also needs this access.
Access can be granted by adding the user(s) to the video group.
% pw groupmod video -m jerry
-
-Additional for FreeBSD versions before FreeBSD 11.0-CURRENT revision
-286524, and any FreeBSD 10.x version.
-
-By using a devfs.rules(5) to change the mode of the /dev/dri/card0 on creation.
-
- add path 'dri/*' mode 0666 group video
-
diff --git a/x11/sterm/Makefile b/x11/sterm/Makefile
index cbd3319849ad..1e58e15e896e 100644
--- a/x11/sterm/Makefile
+++ b/x11/sterm/Makefile
@@ -41,8 +41,6 @@ SOLARIZED_EXTRA_PATCHES= ${PATCHDIR}/extra-solarized-patch-config.def.h \
${PATCHDIR}/extra-solarized-patch-x.c \
${PATCHDIR}/extra-solarized-patch-st.h
-SUB_FILES= pkg-message
-
pre-everything::
@${ECHO_MSG} "You can build st with your own config.h using the ST_CONF knob:"
@${ECHO_MSG} "make ST_CONF=/path/to/st/config.h install clean"
diff --git a/x11/sterm/files/pkg-message.in b/x11/sterm/files/pkg-message.in
deleted file mode 100644
index 85616e94b470..000000000000
--- a/x11/sterm/files/pkg-message.in
+++ /dev/null
@@ -1,14 +0,0 @@
-If you are running FreeBSD 11.1 or older then in order to add st.info
-to the terminal capability database it is required to
-
- * Install tic (included in devel/ncurses)
- * Run
-
- # tic -C -K -s -x %%DATADIR%%/st.info >> /usr/share/misc/termcap
- # cd /usr/share/misc
- # cap_mkdb termcap
-
-Thanks to [1], this hack is not necessary on FreeBSD 11.2-RELEASE,
-11-STABLE, and 12-CURRENT.
-
-[1] https://svnweb.freebsd.org/changeset/base/331006
diff --git a/x11/xlockmore/Makefile b/x11/xlockmore/Makefile
index ca30be50067f..eb22bee882e1 100644
--- a/x11/xlockmore/Makefile
+++ b/x11/xlockmore/Makefile
@@ -162,7 +162,7 @@ post-patch:
@${REINPLACE_CMD} -e '/xglockrc/ s|PROGRAM|DATA|' ${WRKSRC}/xglock/Makefile.in
@${REINPLACE_CMD} -e 's|$$(SOUNDPATH)|$$(DESTDIR)$$(SOUNDPATH)|g' ${WRKSRC}/modes/Makefile.in
@${REINPLACE_CMD} -e '/$$(ETCDIR)play.sh/ s|$$(INSTALL_PROGRAM)|$$(INSTALL_PROGRAM:N-s)|' ${WRKSRC}/modes/Makefile.in
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100000
+.if exists(/usr/bin/fortune)
@${REINPLACE_CMD} -e 's|/usr/games/fortune|/usr/bin/fortune|' ${WRKSRC}/modes/Makefile.in
.endif