aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@gmail.com>2012-09-18 08:52:27 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-09-17 23:36:14 -0500
commit94a0d23a35f4344658487224cacf12b7f9fff16a (patch)
tree8c7b781afaec50d94fa5bd8ebff261433a2279f4 /academic
parent6194d0b79e50e1f13932d2d0ccc836a191f6154b (diff)
academic/free42: Fix linking with X11.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic')
-rw-r--r--academic/free42/free42.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/free42/free42.SlackBuild b/academic/free42/free42.SlackBuild
index 78dd705941e5f..c3438b4917e7c 100644
--- a/academic/free42/free42.SlackBuild
+++ b/academic/free42/free42.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=free42
-VERSION=1.4.74
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-1.4.74}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -66,6 +66,9 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
cd gtk
+# Add X11 library to Makefile
+echo 'LIBS := ${LIBS} -lX11' >> Makefile
+
make
make -e BCD_MATH=1