aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-11-27 19:31:45 +0800
committersobomax <sobomax@FreeBSD.org>2001-11-27 19:31:45 +0800
commita0b14e07bf4549dc4c89c079c915b1e77f02c454 (patch)
treeb105459d1c9e23ff8d346e00c4afc944b9befbdd /graphics
parent737374957653eb339a0d698723905e0e68768a50 (diff)
downloadfreebsd-ports-gnome-a0b14e07bf4549dc4c89c079c915b1e77f02c454.tar.gz
freebsd-ports-gnome-a0b14e07bf4549dc4c89c079c915b1e77f02c454.tar.zst
freebsd-ports-gnome-a0b14e07bf4549dc4c89c079c915b1e77f02c454.zip
Explicitly link resulting libraries with libm, so it is possible to link
application with libGL without any additional black magic. Bump PORTREVISION.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Mesa3/Makefile5
-rw-r--r--graphics/mesagl/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/graphics/Mesa3/Makefile b/graphics/Mesa3/Makefile
index 0de3133caae7..6e324e255f20 100644
--- a/graphics/Mesa3/Makefile
+++ b/graphics/Mesa3/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Mesa
PORTVERSION= 3.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://iris.ssec.wisc.edu/pub/Mesa/ \
@@ -29,7 +29,8 @@ GLUTVER= 3
USE_X_PREFIX= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
-CONFIGURE_ENV+= GLVER="${GLVER}" GLUTVER="${GLUTVER}"
+CONFIGURE_ENV+= GLVER="${GLVER}" GLUTVER="${GLUTVER}" \
+ LIBS="-lm"
PLIST_SUB= GLVER="${GLVER}" GLUTVER="${GLUTVER}"
.include <bsd.port.pre.mk>
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile
index 0de3133caae7..6e324e255f20 100644
--- a/graphics/mesagl/Makefile
+++ b/graphics/mesagl/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Mesa
PORTVERSION= 3.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
ftp://iris.ssec.wisc.edu/pub/Mesa/ \
@@ -29,7 +29,8 @@ GLUTVER= 3
USE_X_PREFIX= yes
USE_LIBTOOL= yes
USE_GMAKE= yes
-CONFIGURE_ENV+= GLVER="${GLVER}" GLUTVER="${GLUTVER}"
+CONFIGURE_ENV+= GLVER="${GLVER}" GLUTVER="${GLUTVER}" \
+ LIBS="-lm"
PLIST_SUB= GLVER="${GLVER}" GLUTVER="${GLUTVER}"
.include <bsd.port.pre.mk>