mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
0d9857f7af
Here's how the error message actually looked like: cc -O2 -pipe -fno-strict-aliasing -Wall -o xqf -Wl,-rpath,/usr/local/lib/xqf -Wl,--export-dynamic -Wl,--version-script=../src/xqf.map addmaster.o addserver.o config.o country-filter.o debug.o dialogs.o dns.o filter.o flt-player.o game.o history.o host.o launch.o menus.o pixmaps.o pref.o psearch.o rc.o rcon.o server.o skin.o skin_pcx.o sort.o source.o srv-info.o srv-list.o srv-prop.o stat.o statistics.o trayicon.o utils.o xqf.o xqf-ui.o xutils.o zipped.o redial.o q3maps.o utmaps.o loadpixmap.o splash.o scripts.o -lintl ../src/zip/libunzip.a ../src/tga/libtga.a -lGeoIP -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgdk_pixbuf_xlib-2.0 -lgmodule-2.0 -pthread -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lz -L/usr/local/lib -lX11 /usr/bin/ld: xqf: local symbol `__progname' in /usr/lib/crt1.o is referenced by DSO /usr/bin/ld: final link failed: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) Reported by: http://thunderx1.nyi.freebsd.org/data/110arm64-default/426002/logs/errors/xqf-1.0.5_9.log Pointy hat to: linimon (generic excerpt) Tested on: 11.1 (clang 4.0) and 12.0 (clang 6.0)
43 lines
856 B
Makefile
43 lines
856 B
Makefile
# Created by: steve farrell
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= xqf
|
|
PORTVERSION= 1.0.5
|
|
PORTREVISION= 10
|
|
CATEGORIES= games
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Server browser for many popular 3D action games
|
|
|
|
RUN_DEPENDS= qstat:games/qstat
|
|
|
|
USE_GNOME= intlhack
|
|
USES= gettext gmake pkgconfig
|
|
USE_XORG= x11
|
|
GNU_CONFIGURE= yes
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib -lX11
|
|
|
|
PORTDATA= *
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= GTK2 GEOIP BZIP2 DOCS
|
|
OPTIONS_DEFAULT=GTK2 GEOIP BZIP2
|
|
|
|
GTK2_USE= GNOME=gtk20
|
|
GTK2_USE_OFF= GNOME=gdkpixbuf
|
|
GTK2_CONFIGURE_ENABLE= gtk2
|
|
|
|
GEOIP_CONFIGURE_ENABLE= geoip
|
|
GEOIP_LIB_DEPENDS= libGeoIP.so:net/GeoIP
|
|
|
|
BZIP2_CONFIGURE_ENABLE= bzip2
|
|
|
|
post-install:
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/xqfdocs.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|