|
Lines 15-21
Link Here
|
| 15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
15 |
LICENSE_FILE= ${WRKSRC}/COPYING |
| 16 |
|
16 |
|
| 17 |
GNU_CONFIGURE= yes |
17 |
GNU_CONFIGURE= yes |
| 18 |
USES= compiler:features gmake libtool |
18 |
USES= compiler:features gmake libtool:build |
| 19 |
USE_SDL= sdl |
19 |
USE_SDL= sdl |
| 20 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
| 21 |
CONFIGURE_ENV= GLBASE="${LOCALBASE}" \ |
21 |
CONFIGURE_ENV= GLBASE="${LOCALBASE}" \ |
|
Lines 23-29
Link Here
|
| 23 |
SDL_CONFIG="${SDL_CONFIG}" |
23 |
SDL_CONFIG="${SDL_CONFIG}" |
| 24 |
CPPFLAGS+= -I${LOCALBASE}/include |
24 |
CPPFLAGS+= -I${LOCALBASE}/include |
| 25 |
CFLAGS+= ${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/} |
25 |
CFLAGS+= ${COMPILER_FEATURES:Mc++11:C/.+/-Wno-error=narrowing/} |
| 26 |
|
|
|
| 27 |
#If you want to try the opengl/gtk player (which doesn't seem to work) |
26 |
#If you want to try the opengl/gtk player (which doesn't seem to work) |
| 28 |
#comment out the following line. |
27 |
#comment out the following line. |
| 29 |
CONFIGURE_ARGS= --disable-opengl-player \ |
28 |
CONFIGURE_ARGS= --disable-opengl-player \ |
|
Lines 30-35
Link Here
|
| 30 |
--disable-gtk-player \ |
29 |
--disable-gtk-player \ |
| 31 |
--enable-mmx |
30 |
--enable-mmx |
| 32 |
|
31 |
|
|
|
32 |
MAKE_ARGS= LDFLAGS=-Wl,-znotext LIBTOOL=${LOCALBASE}/bin/libtool |
| 33 |
|
| 34 |
post-extract: |
| 35 |
${RM} ${WRKSRC}/libtool ${WRKSRC}/ltconfig |
| 36 |
${TOUCH} ${WRKSRC}/ltconfig |
| 37 |
|
| 33 |
post-install: |
38 |
post-install: |
| 34 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsmpeg.so |
39 |
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsmpeg.so |
| 35 |
|
40 |
|