From a0b14e07bf4549dc4c89c079c915b1e77f02c454 Mon Sep 17 00:00:00 2001 From: sobomax Date: Tue, 27 Nov 2001 11:31:45 +0000 Subject: Explicitly link resulting libraries with libm, so it is possible to link application with libGL without any additional black magic. Bump PORTREVISION. --- graphics/Mesa3/Makefile | 5 +++-- graphics/mesagl/Makefile | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'graphics') 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 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 -- cgit