diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-02-03 08:19:18 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-02-03 08:19:18 +0000 |
commit | f5ef155d0fa24847084938489379c9c19fab53bf (patch) | |
tree | 7906c88d3c574bb5273189ffcf55e3c082ab9cc8 /devel/sdl-devel | |
parent | 2bac28dbd6bcd27d2a064fa04d7db30257f9aa58 (diff) | |
download | ports-f5ef155d0fa24847084938489379c9c19fab53bf.tar.gz ports-f5ef155d0fa24847084938489379c9c19fab53bf.zip |
Notes
Diffstat (limited to 'devel/sdl-devel')
-rw-r--r-- | devel/sdl-devel/Makefile | 10 | ||||
-rw-r--r-- | devel/sdl-devel/files/patch-ac | 4 | ||||
-rw-r--r-- | devel/sdl-devel/pkg-plist | 5 |
3 files changed, 11 insertions, 8 deletions
diff --git a/devel/sdl-devel/Makefile b/devel/sdl-devel/Makefile index c53b3d506c36..ab7b9436e05f 100644 --- a/devel/sdl-devel/Makefile +++ b/devel/sdl-devel/Makefile @@ -22,13 +22,11 @@ USE_GMAKE= yes USE_XLIB= yes GNU_CONFIGURE= yes -#DGA seems hosed, at least on my two 4.0 boxes (XFree86 3.3.5) -CONFIGURE_ARGS= --disable-video-x11-dga - CONFIGURE_ENV= NASM="${LOCALBASE}/bin/nasm" \ LOCALBASE="${LOCALBASE}" -CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads +CFLAGS+= -I${LOCALBASE}/include/pthread/linuxthreads \ + -D_THREAD_SAFE post-install: @ ${MKDIR} ${PREFIX}/share/examples/SDL @@ -37,8 +35,8 @@ post-install: .for file in BUGS COPYING CREDITS README WhatsNew docs.html @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SDL .endfor - @ cd ${WRKSRC}/docs; tar cf - audio cdrom events images index.html threads video | \ - (cd ${PREFIX}/share/doc/SDL; tar --unlink -xf - ) + @ cd ${WRKSRC}/docs; tar cf - `/bin/ls | ${GREP} -v Makefile` | \ + (cd ${PREFIX}/share/doc/SDL; ${TAR} --unlink -xf - ) .endif .include <bsd.port.mk> diff --git a/devel/sdl-devel/files/patch-ac b/devel/sdl-devel/files/patch-ac index cc87deaad1ad..64f6440c88b9 100644 --- a/devel/sdl-devel/files/patch-ac +++ b/devel/sdl-devel/files/patch-ac @@ -19,7 +19,7 @@ ;; *) - pthread_lib="-lpthread" -+ pthread_lib="-L""$LOCALBASE""/lib -llthread" ++ pthread_lib="-L""$LOCALBASE""/lib -llthread -llgcc_r" ;; esac LIBS="$LIBS $pthread_lib" @@ -28,7 +28,7 @@ if test x$use_pthreads = xyes; then CFLAGS="$CFLAGS -D_REENTRANT -DSDL_USE_PTHREADS" - SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT" -+ SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT -I""$LOCALBASE""/include/pthread/linuxthreads" ++ SDL_CFLAGS="$SDL_CFLAGS -D_REENTRANT -D_THREAD_SAFE -I""$LOCALBASE""/include/pthread/linuxthreads" SDL_LIBS="$SDL_LIBS $pthread_lib" fi fi diff --git a/devel/sdl-devel/pkg-plist b/devel/sdl-devel/pkg-plist index d4a9c78dadf4..a7c4b2e94388 100644 --- a/devel/sdl-devel/pkg-plist +++ b/devel/sdl-devel/pkg-plist @@ -53,11 +53,16 @@ share/doc/SDL/events/keysym.html share/doc/SDL/images/rainbow.gif share/doc/SDL/index.html share/doc/SDL/threads/index.html +share/doc/SDL/time/examples.html +share/doc/SDL/time/funclist.html +share/doc/SDL/time/functions.html +share/doc/SDL/time/index.html share/doc/SDL/video/examples.html share/doc/SDL/video/funclist.html share/doc/SDL/video/functions.html share/doc/SDL/video/index.html @dirrm share/doc/SDL/video +@dirrm share/doc/SDL/time @dirrm share/doc/SDL/threads @dirrm share/doc/SDL/images @dirrm share/doc/SDL/events |