aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2020-02-24 03:17:32 +0800
committerzeising <zeising@FreeBSD.org>2020-02-24 03:17:32 +0800
commit888067f7a488cda5d2f0c85885a15f6f66c1659f (patch)
tree465f24fc8be1df9587db3cfcf5d15d658e69217d
parent59126afe358e4b7001607d3e64bb5ed83b957c06 (diff)
downloadfreebsd-ports-gnome-888067f7a488cda5d2f0c85885a15f6f66c1659f.tar.gz
freebsd-ports-gnome-888067f7a488cda5d2f0c85885a15f6f66c1659f.tar.zst
freebsd-ports-gnome-888067f7a488cda5d2f0c85885a15f6f66c1659f.zip
x11-wm/spectrwm: Update to 3.3.0
Update x11-wm/spectrwm to 3.3.0 Changelog: https://github.com/conformal/spectrwm/releases/tag/SPECTRWM_3_3_0 PR: 243920 Submitted by: Chris (cmangin AT arobas DOT net)
-rw-r--r--x11-wm/spectrwm/Makefile7
-rw-r--r--x11-wm/spectrwm/distinfo6
2 files changed, 7 insertions, 6 deletions
diff --git a/x11-wm/spectrwm/Makefile b/x11-wm/spectrwm/Makefile
index 6ac1c6e4c351..bdf74635fb8d 100644
--- a/x11-wm/spectrwm/Makefile
+++ b/x11-wm/spectrwm/Makefile
@@ -3,7 +3,7 @@
PORTNAME= spectrwm
DISTVERSIONPREFIX= SPECTRWM_
-DISTVERSION= 3_2_0
+DISTVERSION= 3_3_0
CATEGORIES= x11-wm
MAINTAINER= zeising@FreeBSD.org
@@ -41,6 +41,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${PREFIX}/etc/|g' ${WRKSRC}/spectrwm.*
do-build:
+ ln -sf ${WRKSRC}/linux/pledge.h ${WRKSRC}/pledge.h
${CC} ${CFLAGS} -Wall -Wextra -Wshadow -Werror -I${LOCALBASE}/include \
-I${LOCALBASE}/include/freetype2 -I${WRKSRC}/freebsd \
-lutil -L${LOCALBASE}/lib -lX11 -lX11-xcb -lxcb -lxcb-icccm \
@@ -48,8 +49,8 @@ do-build:
-lXcursor -lXft -DSWM_LIB=\"${PREFIX}/lib/libswmhack.so\" \
-o ${WRKSRC}/${PORTNAME} ${WRKSRC}/${PORTNAME}.c
${CC} ${CFLAGS} -Wall -Wextra -Wshadow -Werror -I${LOCALBASE}/include \
- -shared -fpic -DPIC -o ${WRKSRC}/libswmhack.so \
- ${WRKSRC}/lib/swm_hack.c
+ -shared -fpic -DPIC -L${LOCALBASE}/lib -lX11 \
+ -o ${WRKSRC}/libswmhack.so ${WRKSRC}/lib/swm_hack.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
diff --git a/x11-wm/spectrwm/distinfo b/x11-wm/spectrwm/distinfo
index dfc7613d2340..84a4b36d11ad 100644
--- a/x11-wm/spectrwm/distinfo
+++ b/x11-wm/spectrwm/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1536399342
-SHA256 (conformal-spectrwm-SPECTRWM_3_2_0_GH0.tar.gz) = fb800442620f762de68a236ef9a7278d8b8ef6da5c1b6edbc0c89b1e6e95ef7c
-SIZE (conformal-spectrwm-SPECTRWM_3_2_0_GH0.tar.gz) = 150691
+TIMESTAMP = 1580952583
+SHA256 (conformal-spectrwm-SPECTRWM_3_3_0_GH0.tar.gz) = ee4e40d7f97f0318a8f26e7551aefea7b7b2d21609615736c87e812122c8f140
+SIZE (conformal-spectrwm-SPECTRWM_3_3_0_GH0.tar.gz) = 161806