aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/flwm
diff options
context:
space:
mode:
authordemon <demon@FreeBSD.org>2001-07-29 10:54:43 +0800
committerdemon <demon@FreeBSD.org>2001-07-29 10:54:43 +0800
commit4076e4ab33370b29ea3e3f1d4dfc0836e4970e34 (patch)
tree80287c938c7299be752c2442f74a7fbb0c2d72a9 /x11-wm/flwm
parentf05866c18e893fd6497a23af9bda3dba783a1a81 (diff)
downloadfreebsd-ports-gnome-4076e4ab33370b29ea3e3f1d4dfc0836e4970e34.tar.gz
freebsd-ports-gnome-4076e4ab33370b29ea3e3f1d4dfc0836e4970e34.tar.zst
freebsd-ports-gnome-4076e4ab33370b29ea3e3f1d4dfc0836e4970e34.zip
Fix build in XFree-4 case.
Submitted by: Raymond Kohler <rkohler1@cox.rr.com>
Diffstat (limited to 'x11-wm/flwm')
-rw-r--r--x11-wm/flwm/Makefile2
-rw-r--r--x11-wm/flwm/files/patch-aa2
2 files changed, 3 insertions, 1 deletions
diff --git a/x11-wm/flwm/Makefile b/x11-wm/flwm/Makefile
index 9e1c1faf74ce..2615162c7d7c 100644
--- a/x11-wm/flwm/Makefile
+++ b/x11-wm/flwm/Makefile
@@ -17,6 +17,8 @@ MAINTAINER= demon@FreeBSD.org
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
+MAKE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS}
+
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
MAN1= flwm.1
diff --git a/x11-wm/flwm/files/patch-aa b/x11-wm/flwm/files/patch-aa
index 60ae1edf630e..c0bcf5127e9c 100644
--- a/x11-wm/flwm/files/patch-aa
+++ b/x11-wm/flwm/files/patch-aa
@@ -5,7 +5,7 @@
CXXFILES = main.C Frame.C Rotated.C Menu.C FrameWindow.C Desktop.C Hotkeys.C
-LIBS = -lfltk
-+LIBS = -lfltk -lGL
++LIBS = -lfltk -lGL ${PTHREAD_LIBS}
MANPAGE = 1