aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>