mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
Explicitly link libraries on 10 unmaintained ports
The following ports will not build with a binutils 2.22+ linker built with standard options. This has been obvious with DPorts, but difficult to see on FreeBSD. However, setting the ports compiler as a recent gcc (e.g lang/gcc48) is an excellent way to detect the unspecified but needed libraries as these recent GCC compilers use the latest binutils linkers. These patches were tested on FreeBSD 8.4 and DragonFly 3.5
This commit is contained in:
parent
dcdd82a024
commit
560d2eb0bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329747
@ -38,7 +38,7 @@ SHEBANG_FILES= Utils/*.pl \
|
||||
extern/zlib/zlib2ansi
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -lX11 -lpthread
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
@ -16,7 +16,7 @@ USE_EFL= imlib2
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
LDFLAGS+= -L${LOCALBASE}/lib lXext
|
||||
|
||||
MAN6= xteddy.6
|
||||
PLIST_FILES= bin/xteddy bin/xteddy_test bin/xtoys \
|
||||
|
@ -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}
|
||||
|
@ -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:
|
||||
|
@ -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
|
||||
|
@ -14,6 +14,7 @@ USES= perl5 gmake pkgconfig
|
||||
USE_GNOME= gtk20
|
||||
MAKE_ARGS= OPTIMIZE="${CFLAGS}" PREFIX="${PREFIX}" \
|
||||
GTKINC="`pkg-config --cflags gtk+-2.0`"
|
||||
LDFLAGS+= -lm
|
||||
|
||||
PORTDOCS= README
|
||||
PLIST_FILES= bin/kanjipad bin/kpengine %%DATADIR%%/jdata.dat
|
||||
|
@ -17,6 +17,7 @@ USES= pathfix gmake pkgconfig
|
||||
USE_GNOME= gtk20
|
||||
GNU_CONFIGURE= yes
|
||||
USE_CSTD= gnu89
|
||||
LDFLAGS+= -lm
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
@ -19,6 +19,7 @@ USE_GL= glu
|
||||
USE_GNOME= gtk20
|
||||
USES= gmake pkgconfig
|
||||
MAKEFILE= GNUmakefile
|
||||
LDFLAGS+= -lm
|
||||
|
||||
PORTDOCS= CHANGELOG README TODO
|
||||
PLIST_FILES= bin/gdis %%DATADIR%%/gdis.elements %%DATADIR%%/gdis.library \
|
||||
|
@ -17,6 +17,7 @@ USES= pkgconfig
|
||||
USE_XORG= x11
|
||||
USE_GNOME= gtk20
|
||||
GNU_CONFIGURE= yes
|
||||
LDFLAGS+= -lm
|
||||
|
||||
MAN1= vgd.1 vgseer.1 viewglob.1
|
||||
|
||||
|
@ -14,6 +14,7 @@ LICENSE= BSD
|
||||
MAKEFILE= BSDmakefile
|
||||
USE_BZIP2= yes
|
||||
USE_OPENLDAP= 24
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -llber-2.4
|
||||
|
||||
MANCOMPRESSED= yes
|
||||
MAN1= ldapform.1 ldapedit.1
|
||||
|
Loading…
Reference in New Issue
Block a user