aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fv/Makefile2
-rw-r--r--graphics/kludge3d/Makefile2
-rw-r--r--graphics/pornview/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/graphics/fv/Makefile b/graphics/fv/Makefile
index dd31405bc6f6..eb85bec57c14 100644
--- a/graphics/fv/Makefile
+++ b/graphics/fv/Makefile
@@ -24,7 +24,7 @@ ALL_TARGET= ${PORTNAME}
CXXFLAGS+= $$(pkg-config --cflags libpng15) \
-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= $$(pkg-config --libs libpng15) \
- -L${LOCALBASE}/lib -lglut -lGLU -lGL -lbz2 -lm ${PTHREAD_LIBS}
+ -L${LOCALBASE}/lib -lglut -lGLU -lGL -lbz2 -lm -lz ${PTHREAD_LIBS}
PORTDOCS= AUTHORS ChangeLog README
PLIST_FILES= bin/${PORTNAME}
diff --git a/graphics/kludge3d/Makefile b/graphics/kludge3d/Makefile
index 3aadbd8862d5..e755bf14c91c 100644
--- a/graphics/kludge3d/Makefile
+++ b/graphics/kludge3d/Makefile
@@ -25,7 +25,7 @@ PLIST_FILES= bin/kludge3d
CPPFLAGS+= -I${LOCALBASE}/include \
-I${PYTHON_INCLUDEDIR} ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib \
- -L${PYTHON_LIBDIR}/config ${PTHREAD_LIBS}
+ -L${PYTHON_LIBDIR}/config -lm ${PTHREAD_LIBS}
NO_STAGE= yes
post-patch:
diff --git a/graphics/pornview/Makefile b/graphics/pornview/Makefile
index 5cfa44f521d6..9e3450d7e13d 100644
--- a/graphics/pornview/Makefile
+++ b/graphics/pornview/Makefile
@@ -21,7 +21,7 @@ USE_GNOME= gtk20
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gtk2
CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib -lm
OPTIONS_DEFINE= LIBXINE MPLAYER NLS
OPTIONS_DEFAULT= LIBXINE