diff options
-rw-r--r-- | games/battalion/Makefile | 2 | ||||
-rw-r--r-- | games/deng/Makefile | 1 | ||||
-rw-r--r-- | games/heroes/Makefile | 2 | ||||
-rw-r--r-- | games/uhexen/Makefile | 1 | ||||
-rw-r--r-- | sysutils/wmfire/Makefile | 2 | ||||
-rw-r--r-- | textproc/dixit/Makefile | 1 | ||||
-rw-r--r-- | x11-fm/tdfsb/Makefile | 2 | ||||
-rw-r--r-- | x11-wm/pawm/Makefile | 1 | ||||
-rw-r--r-- | x11/gromit/Makefile | 1 | ||||
-rw-r--r-- | x11/xsel/Makefile | 2 |
10 files changed, 10 insertions, 5 deletions
diff --git a/games/battalion/Makefile b/games/battalion/Makefile index 790133cd23ec..077177dad766 100644 --- a/games/battalion/Makefile +++ b/games/battalion/Makefile @@ -18,7 +18,7 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" LIBS="${LDFLAGS}" CFLAGS+= -I${LOCALBASE}/include/X11 -I${LOCALBASE}/include \ -DLINUXVERSION -DLINUXAUDIO -LDFLAGS= -L${LOCALBASE}/lib +LDFLAGS= -L${LOCALBASE}/lib -lX11 -lm MAN6= battalion.6 diff --git a/games/deng/Makefile b/games/deng/Makefile index 9bf6abf19224..a2dedbeb9b0d 100644 --- a/games/deng/Makefile +++ b/games/deng/Makefile @@ -25,6 +25,7 @@ USES= cmake:outsource CMAKE_SOURCE_PATH= ${WRKSRC}/doomsday CFLAGS+= -I${LOCALBASE}/include/libpng15 CMAKE_ARGS+= -DCMAKE_EXE_LINKER_FLAGS:STRING="-Wl,--export-dynamic" +LDFLAGS+= -lm MAN6= doomsday.6 diff --git a/games/heroes/Makefile b/games/heroes/Makefile index 30d10011046e..9a0029491ca1 100644 --- a/games/heroes/Makefile +++ b/games/heroes/Makefile @@ -47,7 +47,7 @@ MAN6= heroes.6 heroeslvl.6 INFO= heroes CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -LDFLAGS+= -L${LOCALBASE}/lib -lsmpeg ${PTHREAD_LIBS} +LDFLAGS+= -L${LOCALBASE}/lib -lsmpeg -lm ${PTHREAD_LIBS} NO_STAGE= yes pre-everything:: diff --git a/games/uhexen/Makefile b/games/uhexen/Makefile index c6b93eaed1b3..6cb3c9802e56 100644 --- a/games/uhexen/Makefile +++ b/games/uhexen/Makefile @@ -12,6 +12,7 @@ COMMENT= Yet another port of Hexen, popular game from Raven Software USE_GMAKE= yes USE_SDL= mixer sdl +MAKE_ENV+= EXTRA_LIBS=-lm OPTIONS_DEFINE= MUSIC OPTIONS_DEFAULT= MUSIC diff --git a/sysutils/wmfire/Makefile b/sysutils/wmfire/Makefile index 2c1401e8cc10..13c5bf413a90 100644 --- a/sysutils/wmfire/Makefile +++ b/sysutils/wmfire/Makefile @@ -17,7 +17,7 @@ USE_GNOME= gtk20 GNU_CONFIGURE= yes USE_CSTD= gnu89 CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib +LDFLAGS+= -L${LOCALBASE}/lib -lm MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOHEADER="${TRUE}" \ AUTOMAKE="${TRUE}" diff --git a/textproc/dixit/Makefile b/textproc/dixit/Makefile index 47751f9463e9..e5c73c25373f 100644 --- a/textproc/dixit/Makefile +++ b/textproc/dixit/Makefile @@ -22,6 +22,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}.${QT_VER} USE_QT4= corelib gui network moc_build qmake_build rcc_build HAS_CONFIGURE= yes +QMAKEFLAGS= QMAKE_LFLAGS="-lz" PLIST_SUB= _DB=${_DB} DB_DIR=${DB_DIR} _DB_F=${_DB_F} diff --git a/x11-fm/tdfsb/Makefile b/x11-fm/tdfsb/Makefile index 0cde822905a9..32e3435449a8 100644 --- a/x11-fm/tdfsb/Makefile +++ b/x11-fm/tdfsb/Makefile @@ -27,7 +27,7 @@ CPPFLAGS+= `${LOCALBASE}/bin/pkgconf --cflags SDL_image gl` \ -I ${LOCALBASE}/include LDFLAGS+= `${LOCALBASE}/bin/pkgconf --libs SDL_image gl` \ `${LOCALBASE}/bin/smpeg-config --libs` \ - -L ${LOCALBASE}/lib -lGLU -lglut + -L ${LOCALBASE}/lib -lGLU -lglut -lm NO_STAGE= yes .include <bsd.port.pre.mk> diff --git a/x11-wm/pawm/Makefile b/x11-wm/pawm/Makefile index 57071fe64c04..677811d35eef 100644 --- a/x11-wm/pawm/Makefile +++ b/x11-wm/pawm/Makefile @@ -14,6 +14,7 @@ USE_XORG= x11 xft xrandr xrender xpm USES= cmake pkgconfig CMAKE_ARGS= -DCMAKE_CONFIG_PREFIX:STRING="${PREFIX}/etc" \ -DX11_LIBRARY_DIRS:STRING="${LOCALBASE}/lib" +LDFLAGS+= -L${LOCALBASE}/lib -lXext -lXrender .if defined(WITH_SN) LIB_DEPENDS+= startup-notification-1.0:${PORTSDIR}/x11/startup-notification diff --git a/x11/gromit/Makefile b/x11/gromit/Makefile index 26026ee3bc5c..91dd0a8d9a01 100644 --- a/x11/gromit/Makefile +++ b/x11/gromit/Makefile @@ -12,6 +12,7 @@ COMMENT= GRaphics Over Miscellaneous Objects (Gromit) USE_GNOME= gtk20 USES= pkgconfig +CFLAGS+= -lm DOCS= AUTHORS ChangeLog README diff --git a/x11/xsel/Makefile b/x11/xsel/Makefile index c97cccc747c2..fc0d833bdf23 100644 --- a/x11/xsel/Makefile +++ b/x11/xsel/Makefile @@ -15,7 +15,7 @@ CONFLICTS= xsel-conrad-[0-9]* USE_BZIP2= yes USE_XORG= xmu xaw xt xproto xkbfile CFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw +LDFLAGS+= -L${LOCALBASE}/lib -lXt -lXaw -lX11 -lXmu MAN1= ${PORTNAME}.1 PLIST_FILES= bin/${PORTNAME} PORTDOCS= ${PORTNAME}.html |