mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- STAGE-clean
- Fix segfault
This commit is contained in:
parent
b0c120b644
commit
97a551d5d0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=342673
@ -27,10 +27,9 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}"
|
||||
USE_AUTOTOOLS= automake autoconf
|
||||
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
||||
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -L${LOCALBASE}/lib
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MOPENAL}
|
||||
@ -53,9 +52,4 @@ post-patch:
|
||||
pre-configure:
|
||||
cd ${WRKSRC}; ${SH} autogen.sh
|
||||
|
||||
post-configure:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|-lpthread|${PTHREAD_LIBS}|g' \
|
||||
${WRKSRC}/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
13
games/atr3d/files/patch-main.cpp
Normal file
13
games/atr3d/files/patch-main.cpp
Normal file
@ -0,0 +1,13 @@
|
||||
--- main.cpp.orig 2014-02-05 10:21:41.000000000 +0100
|
||||
+++ main.cpp 2014-02-05 10:22:16.000000000 +0100
|
||||
@@ -58,6 +58,10 @@
|
||||
|
||||
initsound(&argc, argv);
|
||||
|
||||
+ /* initialize glut here, so we have
|
||||
+ * access to argv and argc */
|
||||
+ glutInit (&argc, argv);
|
||||
+
|
||||
DoInitializations();
|
||||
|
||||
playsound(NewLifeSound);
|
Loading…
Reference in New Issue
Block a user