675e66a74b
g++48 -L/usr/local/lib -lpthread -lglut -lGL -lXext -lX11 -lXmu -lGLU -lm -fstack-protector -Wl,-rpath=/usr/local/lib/gcc48 -L/usr/local/lib/gcc48 /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/FFFF3.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/FragmentProgram.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/FragmentProgramARB10.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/GPUProgram.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/PixelBuffer.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/VertexProgram.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/VertexProgramATI.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/VertexProgramNV.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/extensions.obj /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/vpext.obj -o /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/ffff /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/VertexProgramNV.obj: In function `VertexProgramNV::setOrtho2D(double, double, double, double)': VertexProgramNV.cpp:(.text+0x167): undefined reference to `glTrackMatrixNV' /wrkdirs/usr/ports/graphics/ffff/work/FFFF323-src/VertexProgramNV.obj: In function `VertexProgramNV::initializeGPU_VP(int, int, int, double, double, double, double)': VertexProgramNV.cpp:(.text+0x2ae): undefined reference to `glGenProgramsNV' VertexProgramNV.cpp:(.text+0x2c3): undefined reference to `glBindProgramNV' VertexProgramNV.cpp:(.text+0x31d): undefined reference to `glLoadProgramNV' VertexProgramNV.cpp:(.text+0x361): undefined reference to `glProgramParameter4fNV' VertexProgramNV.cpp:(.text+0x395): undefined reference to `glProgramParameter4fNV' VertexProgramNV.cpp:(.text+0x3c9): undefined reference to `glProgramParameter4fNV' Reported by: pkg-fallout
44 lines
1 KiB
Makefile
44 lines
1 KiB
Makefile
# Created by: rossiya@gmail.com
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ffff
|
|
PORTVERSION= 323
|
|
PORTREVISION= 6
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/FFFF%203.2.3
|
|
DISTNAME= FFFF${PORTVERSION}-src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fast Mandelbrot fractal generator
|
|
|
|
BROKEN= fails to link
|
|
|
|
USE_XORG= x11 xmu xext
|
|
USE_GL= gl glut
|
|
USES= dos2unix zip
|
|
USE_GCC= any
|
|
|
|
SOURCE= FFFF3 FragmentProgram FragmentProgramARB10 GPUProgram \
|
|
PixelBuffer VertexProgram VertexProgramATI VertexProgramNV \
|
|
extensions vpext
|
|
|
|
CXXFLAGS+= -I${LOCALBASE}/include/GL -D__linux__ -msse -msse2 -m3dnow \
|
|
-I${LOCALBASE}/include/
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lpthread -lglut -lGL -lXext -lX11 -lXmu \
|
|
-lGLU -lm
|
|
|
|
PLIST_FILES= bin/ffff
|
|
|
|
# contains x86 assembler
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
do-build:
|
|
.for f in ${SOURCE}
|
|
${CXX} ${CXXFLAGS} -c ${WRKSRC}/${f}.cpp -o ${WRKSRC}/${f}.obj
|
|
.endfor
|
|
${CXX} ${LDFLAGS} ${SOURCE:C/(.*)/${WRKSRC}\/\1.obj/} -o ${WRKSRC}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|