diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-26 14:06:08 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-08-26 14:06:08 +0000 |
commit | 216b5a285fdcc1456a307fcc60f3507c20d613eb (patch) | |
tree | d0c8617b772b8f0a175d436d938b8d844590b41f /games/motogt | |
parent | b829518a7d432b7cc2546fde7f032238d1db13dc (diff) | |
download | ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.tar.gz ports-216b5a285fdcc1456a307fcc60f3507c20d613eb.zip |
Notes
Diffstat (limited to 'games/motogt')
-rw-r--r-- | games/motogt/Makefile | 4 | ||||
-rw-r--r-- | games/motogt/files/patch-src-Makefile.lnx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/games/motogt/Makefile b/games/motogt/Makefile index 2397475b01ef..425db2d5b573 100644 --- a/games/motogt/Makefile +++ b/games/motogt/Makefile @@ -21,14 +21,14 @@ LICENSE_PERMS_CCbySA= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LICENSE_FILE_CCbySA= ${WRKSRC}/doc/cc-by-sa.txt USES= zip +USE_GL= gl BUILD_WRKSRC= ${WRKSRC}/src MAKEFILE= Makefile.lnx MAKE_JOBS_UNSAFE= yes CFLAGS+= -I${LOCALBASE}/include/libpng15 -MAKE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" SUB_FILES= motogt CXXFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/${PORTNAME} libexec/MotoGT.bin PORTDATA= * diff --git a/games/motogt/files/patch-src-Makefile.lnx b/games/motogt/files/patch-src-Makefile.lnx index 9905f7ac207c..aba2597dfd59 100644 --- a/games/motogt/files/patch-src-Makefile.lnx +++ b/games/motogt/files/patch-src-Makefile.lnx @@ -8,7 +8,7 @@ -TEMP_DIR=../tmp-lnx +CXX?= g++ +CXXFLAGS?= -O2 -ffast-math -+LIBS= -lpng -lsfml-window -lsfml-graphics -lsfml-system -lsfml-audio ++LIBS= -lpng -lsfml-window -lsfml-graphics -lsfml-system -lsfml-audio -lGL +LDFLAGS?= -s +TEMP_DIR= ../tmp-lnx |