ports/devel/simavr/files/patch-examples_Makefile.opengl
Kurt Jaeger b4cef57a43 New port: devel/simavr
This is a port of simavr, an AVR simulator using avr-gcc's register
definitions.

WWW: https://github.com/buserror/simavr

PR:		208475
Submitted by:	Felix Palmen <felix@palmen-it.de>
2016-04-06 16:09:05 +00:00

13 lines
435 B
Text

--- examples/Makefile.opengl.orig 2016-01-19 09:41:55 UTC
+++ examples/Makefile.opengl
@@ -11,8 +11,8 @@ else
ifeq (${shell uname -o}, Msys)
LDFLAGS += -mwindows -lopengl32 -lfreeglut
else
-CPPFLAGS += ${shell pkg-config --cflags glu glut} -DFREEBSD=1
-LDFLAGS += ${shell pkg-config --libs glu glut}
+CPPFLAGS += ${shell pkg-config --cflags glu} -DFREEBSD=1
+LDFLAGS += ${shell pkg-config --libs glu} -lglut
endif
endif
endif