diff options
Diffstat (limited to 'games/uqm')
-rw-r--r-- | games/uqm/Makefile | 2 | ||||
-rw-r--r-- | games/uqm/files/patch-build-unix-config_proginfo_host | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/games/uqm/Makefile b/games/uqm/Makefile index 63addab..ab47a06 100644 --- a/games/uqm/Makefile +++ b/games/uqm/Makefile @@ -92,7 +92,7 @@ do-configure: @${ECHO_MSG} INPUT_install_bindir_VALUE=\''$$prefix/bin'\' >> ${WRKSRC}/sc2/config.state @${ECHO_MSG} INPUT_install_libdir_VALUE=\''$$prefix/lib'\' >> ${WRKSRC}/sc2/config.state @${ECHO_MSG} INPUT_install_sharedir_VALUE=\''$$prefix/share'\' >> ${WRKSRC}/sc2/config.state - cd ${WRKSRC}/sc2 && ${SETENV} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} PREFIX=${PREFIX} ./build.sh uqm config + cd ${WRKSRC}/sc2 && ${SETENV} LOCALBASE=${LOCALBASE} PREFIX=${PREFIX} ./build.sh uqm config do-build: cd ${WRKSRC}/sc2 && ./build.sh uqm diff --git a/games/uqm/files/patch-build-unix-config_proginfo_host b/games/uqm/files/patch-build-unix-config_proginfo_host index c25505c..fe744a2 100644 --- a/games/uqm/files/patch-build-unix-config_proginfo_host +++ b/games/uqm/files/patch-build-unix-config_proginfo_host @@ -28,8 +28,8 @@ FreeBSD|OpenBSD) - LIB_opengl_CFLAGS="-I/usr/X11R6/include -D_THREAD_SAFE" - LIB_opengl_LDFLAGS="-L/usr/X11R6/lib -lX11 -lXext -pthread -lGL" -+ LIB_opengl_CFLAGS="-I${X11BASE}/include -D_THREAD_SAFE" -+ LIB_opengl_LDFLAGS="-L${X11BASE}/lib -lX11 -lXext -pthread -lGL" ++ LIB_opengl_CFLAGS="-I${LOCALBASE}/include -D_THREAD_SAFE" ++ LIB_opengl_LDFLAGS="-L${LOCALBASE}/lib -lX11 -lXext -pthread -lGL" ;; MINGW32*|CYGWIN*) LIB_opengl_CFLAGS="" |