FreeBSD Bugzilla – Attachment 138298 Details for
Bug 184231
games/tuxpuck: Support CC properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.78 KB, created by
tkato432
on 2013-11-24 18:10:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-11-24 18:10:04 UTC
Size:
1.78 KB
patch
obsolete
>diff -urN /usr/ports/games/tuxpuck/Makefile games/tuxpuck/Makefile >--- /usr/ports/games/tuxpuck/Makefile 2013-11-12 18:11:17.000000000 +0900 >+++ games/tuxpuck/Makefile 2013-11-25 00:00:00.000000000 +0900 >@@ -22,15 +22,19 @@ > ALL_TARGET= ${PORTNAME} > MAKE_JOBS_UNSAFE= yes > >-CFLAGS+= -I${LOCALBASE}/include/libpng15 >- > PLIST_FILES= bin/${PORTNAME} man/man6/tuxpuck.6.gz > > post-patch: >- cd ${WRKSRC}; \ >- ${REINPLACE_CMD} 's|timer_create|_timer_create|g' \ >- tuxpuck.c video.c timer.c intro.c tuxpuck.h >- ${REINPLACE_CMD} -e 's|sdl-config|$$(SDL_CONFIG)|g' ${WRKSRC}/utils/Makefile >+.for i in intro.c timer.c tuxpuck.c tuxpuck.h video.c >+ @${REINPLACE_CMD} -e \ >+ 's|timer_create|_timer_create|g' ${WRKSRC}/${i} >+.endfor >+.for i in data utils >+ @${REINPLACE_CMD} -e \ >+ 's|^CC|#CC| ; \ >+ s|^CFLAGS|#CFLAGS| ; \ >+ s|sdl-config|$$(SDL_CONFIG)|' ${WRKSRC}/${i}/Makefile >+.endfor > > do-install: > ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin >diff -urN /usr/ports/games/tuxpuck/files/patch-Makefile games/tuxpuck/files/patch-Makefile >--- /usr/ports/games/tuxpuck/files/patch-Makefile 2013-11-06 22:00:20.000000000 +0900 >+++ games/tuxpuck/files/patch-Makefile 2013-11-25 00:00:00.000000000 +0900 >@@ -16,12 +16,12 @@ > > %.o : %.c > - $(CC) $(CFLAGS) `sdl-config --cflags` -c -o $@ $< >-+ $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` -c -o $@ $< >++ $(CC) $(CFLAGS) `$(SDL_CONFIG) --cflags` `libpng-config --cflags` -c -o $@ $< > > $(NAME) : $(OBJS) > cd data; $(MAKE) > - $(CC) $(CFLAGS) $(OBJS) data/libdata.a `sdl-config --libs` -lm -lpng \ >-+ $(CC) $(CFLAGS) $(OBJS) data/libdata.a `$(SDL_CONFIG) --libs` -lm -lpng \ >++ $(CC) $(CFLAGS) $(OBJS) data/libdata.a `$(SDL_CONFIG) --libs` `libpng-config --libs` -lm \ > -ljpeg -lz -lvorbisfile -lvorbis -logg -o $(NAME) > > w32icon.o : data/icons/tuxpuck.ico
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 184231
: 138298