aboutsummaryrefslogtreecommitdiffstats
path: root/devel/sdl12/files
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-01-24 12:57:17 +0800
committersteve <steve@FreeBSD.org>2000-01-24 12:57:17 +0800
commit4f1787b31829ee7163dfa84b94fe026f1e3fe43e (patch)
treef0b9cac8526019388ab36923dd6f326cb760a722 /devel/sdl12/files
parent9970165438da8bfac87e5fbdcffaaed31c6427d5 (diff)
downloadfreebsd-ports-gnome-4f1787b31829ee7163dfa84b94fe026f1e3fe43e.tar.gz
freebsd-ports-gnome-4f1787b31829ee7163dfa84b94fe026f1e3fe43e.tar.zst
freebsd-ports-gnome-4f1787b31829ee7163dfa84b94fe026f1e3fe43e.zip
Update to version 1.0.1.
PR: 15944 Submitted by: Maxim Sobolev <sobomax@altavista.net>
Diffstat (limited to 'devel/sdl12/files')
-rw-r--r--devel/sdl12/files/patch-ac42
1 files changed, 42 insertions, 0 deletions
diff --git a/devel/sdl12/files/patch-ac b/devel/sdl12/files/patch-ac
new file mode 100644
index 000000000000..cc87deaad1ad
--- /dev/null
+++ b/devel/sdl12/files/patch-ac
@@ -0,0 +1,42 @@
+--- configure.orig Tue Dec 14 01:33:42 1999
++++ configure Sat Jan 8 23:23:37 2000
+@@ -3030,7 +3030,7 @@
+ echo "$ac_t""yes" 1>&6
+
+ CFLAGS="$CFLAGS -DESD_SUPPORT $ESD_CFLAGS"
+- SYSTEM_LIBS="$SYSTEM_LIBS -lesd"
++ SYSTEM_LIBS="$SYSTEM_LIBS $ESD_LIBS"
+
+ else
+ echo "$ac_t""no" 1>&6
+@@ -4333,11 +4333,11 @@
+
+ ac_save_libs="$LIBS"
+ case "$target" in
+- *-*-freebsd*)
++ *-*-frebsd*)
+ pthread_lib="-lc_r"
+ ;;
+ *)
+- pthread_lib="-lpthread"
++ pthread_lib="-L""$LOCALBASE""/lib -llthread"
+ ;;
+ esac
+ LIBS="$LIBS $pthread_lib"
+@@ -4371,7 +4371,7 @@
+ echo "$ac_t""$use_pthreads" 1>&6
+ 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_LIBS="$SDL_LIBS $pthread_lib"
+ fi
+ fi
+@@ -4851,6 +4851,7 @@
+ ;;
+ *-*-freebsd*)
+ ARCH=freebsd
++ CheckNASM
+ CheckESD
+ CheckX11
+ CheckPTHREAD