summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>2000-02-03 08:19:18 +0000
committerChris Piazza <cpiazza@FreeBSD.org>2000-02-03 08:19:18 +0000
commitf5ef155d0fa24847084938489379c9c19fab53bf (patch)
tree7906c88d3c574bb5273189ffcf55e3c082ab9cc8 /devel
parentAdd a patch forgot while merging changes from Maxim Sobolev (diff)
Merge changes from Maxim Sobolev's update to this port.
PR: 16498 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Notes
Notes: svn path=/head/; revision=25453
Diffstat (limited to 'devel')
-rw-r--r--devel/sdl-devel/Makefile10
-rw-r--r--devel/sdl-devel/files/patch-ac4
-rw-r--r--devel/sdl-devel/pkg-plist5
-rw-r--r--devel/sdl/Makefile10
-rw-r--r--devel/sdl/files/patch-ac4
-rw-r--r--devel/sdl/pkg-plist5
-rw-r--r--devel/sdl10/Makefile10
-rw-r--r--devel/sdl10/files/patch-ac4
-rw-r--r--devel/sdl10/pkg-plist5
-rw-r--r--devel/sdl12/Makefile10
-rw-r--r--devel/sdl12/files/patch-ac4
-rw-r--r--devel/sdl12/pkg-plist5
12 files changed, 44 insertions, 32 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
diff --git a/devel/sdl/Makefile b/devel/sdl/Makefile
index c53b3d506c36..ab7b9436e05f 100644
--- a/devel/sdl/Makefile
+++ b/devel/sdl/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/files/patch-ac b/devel/sdl/files/patch-ac
index cc87deaad1ad..64f6440c88b9 100644
--- a/devel/sdl/files/patch-ac
+++ b/devel/sdl/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/pkg-plist b/devel/sdl/pkg-plist
index d4a9c78dadf4..a7c4b2e94388 100644
--- a/devel/sdl/pkg-plist
+++ b/devel/sdl/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
diff --git a/devel/sdl10/Makefile b/devel/sdl10/Makefile
index c53b3d506c36..ab7b9436e05f 100644
--- a/devel/sdl10/Makefile
+++ b/devel/sdl10/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/sdl10/files/patch-ac b/devel/sdl10/files/patch-ac
index cc87deaad1ad..64f6440c88b9 100644
--- a/devel/sdl10/files/patch-ac
+++ b/devel/sdl10/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/sdl10/pkg-plist b/devel/sdl10/pkg-plist
index d4a9c78dadf4..a7c4b2e94388 100644
--- a/devel/sdl10/pkg-plist
+++ b/devel/sdl10/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
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index c53b3d506c36..ab7b9436e05f 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/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/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac
index cc87deaad1ad..64f6440c88b9 100644
--- a/devel/sdl12/files/patch-ac
+++ b/devel/sdl12/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/sdl12/pkg-plist b/devel/sdl12/pkg-plist
index d4a9c78dadf4..a7c4b2e94388 100644
--- a/devel/sdl12/pkg-plist
+++ b/devel/sdl12/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