mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
- Update to 4.4.1.1
PR: ports/153208 Submitted by: Stas Timokhin <devel@stasyan.com> Approved by: Naram Qashat <cyberbotx@cyberbotx.com> (maintainer) Feature safe: yes
This commit is contained in:
parent
f3e767ed8a
commit
abe2b1fc47
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267995
@ -6,158 +6,43 @@
|
||||
#
|
||||
|
||||
PORTNAME= allegro
|
||||
DISTVERSION= 4.3.1
|
||||
PORTREVISION= 5
|
||||
DISTVERSION= 4.4.1.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/alleg/${PORTNAME}-unstable/${PORTVERSION}
|
||||
MASTER_SITES= SF/alleg/allegro/${PORTVERSION}
|
||||
PKGNAMESUFFIX= -devel
|
||||
|
||||
MAINTAINER= cyberbotx@cyberbotx.com
|
||||
COMMENT= A cross-platform library for games and multimedia programming
|
||||
|
||||
USE_AUTOTOOLS= autoconf
|
||||
USE_GMAKE= yes
|
||||
USE_CMAKE= yes
|
||||
USE_XORG= x11 xpm xext xcursor xxf86vm xxf86dga
|
||||
USE_LDCONFIG= yes
|
||||
WANT_GNOME= yes
|
||||
USE_GL= gl glu
|
||||
|
||||
OPTIONS= AL "Enable OpenAL support" off \
|
||||
ARTS "Enable Arts support" off \
|
||||
DEBUG "Build debugging library" off \
|
||||
DEVEL "Build development utilities" on \
|
||||
ESOUND "Enable Esound support" off \
|
||||
JACK "Enable JACK support" off \
|
||||
OPTIMIZED_CFLAGS "Enable compilation optimizations" on \
|
||||
PROFILE "Build profiling library" off \
|
||||
THREADS "Enable threads" on
|
||||
|
||||
MAKEFILE= makefile
|
||||
ALL_TARGET= full-build
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
.include "Makefile.man"
|
||||
|
||||
INFO= allegro
|
||||
|
||||
CONFLICTS= allegro-[0-9]*
|
||||
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
|
||||
PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
|
||||
CMAKE_ARGS+= -DDOCDIR="${DOCSDIR}"
|
||||
|
||||
DEMO= demo.c demo.dat demo.h music.txt ../readme.txt
|
||||
SHLIB_VER= 43
|
||||
SHLIB_VER= 4.4.1
|
||||
|
||||
PORTSCOUT= limit:^4\.3\.[0-9]*
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if defined(WITH_AL)
|
||||
USE_OPENAL= al
|
||||
CONFIGURE_ARGS+=--enable-sgialdigi
|
||||
PLIST_SUB+= AL=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-sgialdigi
|
||||
PLIST_SUB+= AL="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ARTS)
|
||||
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
|
||||
CONFIGURE_ARGS+=--enable-artsdigi
|
||||
PLIST_SUB+= ARTS=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-artsdigi
|
||||
PLIST_SUB+= ARTS="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
CONFIGURE_ARGS+=--enable-dbglib
|
||||
PLIST_SUB+= DEBUG=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-dbglib
|
||||
PLIST_SUB+= DEBUG="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_DEVEL)
|
||||
INSTALL_TARGET= full-install install-man install-info
|
||||
PLIST_SUB+= DEVEL=""
|
||||
.else
|
||||
INSTALL_TARGET= mini-install install-man install-info
|
||||
PLIST_SUB+= DEVEL="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ESOUND)
|
||||
USE_GNOME+= esound
|
||||
CONFIGURE_ARGS+=--enable-esddigi
|
||||
PLIST_SUB+= ESOUND=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-esddigi
|
||||
PLIST_SUB+= ESOUND="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_JACK)
|
||||
LIB_DEPENDS+= jack.0:${PORTSDIR}/audio/jack
|
||||
CONFIGURE_ARGS+=--enable-jackdigi
|
||||
PLIST_SUB+= JACK=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-jackdigi
|
||||
PLIST_SUB+= JACK="@comment "
|
||||
.endif
|
||||
|
||||
.if defined(WITH_PROFILE)
|
||||
CONFIGURE_ARGS+=--enable-proflib
|
||||
PLIST_SUB+= PROFILE=""
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-proflib
|
||||
PLIST_SUB+= PROFILE="@comment "
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_THREADS)
|
||||
CONFIGURE_ARGS+=--enable-pthreads
|
||||
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS} -DHAVE_LIBPTHREAD" \
|
||||
LDFLAGS="${PTHREAD_LIBS}"
|
||||
.else
|
||||
CONFIGURE_ARGS+=--disable-pthreads
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Change "x.y.z" into "xy" in the shared library version.
|
||||
@${REINPLACE_CMD} -e 's|${PORTVERSION}|${SHLIB_VER}|g' \
|
||||
${WRKSRC}/makefile.ver
|
||||
|
||||
# Remove architecture specific optimizations.
|
||||
@${REINPLACE_CMD} -e 's|$$TARGET_ARCH||g' \
|
||||
${CONFIGURE_WRKSRC}/configure.in
|
||||
|
||||
# Remove "-ffast-math" flag on alpha, because it breaks.
|
||||
.if ${ARCH} == "alpha"
|
||||
@${REINPLACE_CMD} -e 's|-ffast-math||g' \
|
||||
${CONFIGURE_WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
# Threading libraries.
|
||||
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/aclocal.m4
|
||||
|
||||
# Enable/disable compilation optimizations.
|
||||
.if defined(WITHOUT_OPTIMIZED_CFLAGS)
|
||||
@${REINPLACE_CMD} -e 's|-O2||g ; \
|
||||
s|-ffast-math||g ; \
|
||||
s|-fomit-frame-pointer||g ; \
|
||||
s|-funroll-loops||g' \
|
||||
${CONFIGURE_WRKSRC}/configure.in
|
||||
.endif
|
||||
|
||||
CFLAGS+= -L${LOCALBASE}/lib
|
||||
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib \
|
||||
jack.0:${PORTSDIR}/audio/jack \
|
||||
png.6:${PORTSDIR}/graphics/png
|
||||
post-install:
|
||||
# Documentation.
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/html/*.html ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/docs/html/*.css ${DOCSDIR}
|
||||
|
||||
# Examples.
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/demo/demo ${EXAMPLESDIR}
|
||||
. for f in ${DEMO}
|
||||
${INSTALL_DATA} ${WRKSRC}/demo/${f} ${EXAMPLESDIR}
|
||||
. endfor
|
||||
.endif
|
||||
@cd ${WRKSRC}/docs/man/ && \
|
||||
${FIND} . -type f -and -name "*.3" -exec ${INSTALL_MAN} {} ${PREFIX}/man/man3/{} \;
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,2 @@
|
||||
MD5 (allegro-4.3.1.tar.gz) = 672fbeffb6a5d42600f2ba32b864fe73
|
||||
SHA256 (allegro-4.3.1.tar.gz) = 5ebb0d522fa6724bcbf01c63f880e02f13e9b34ba4184f2494122e3a3201050d
|
||||
SIZE (allegro-4.3.1.tar.gz) = 2921750
|
||||
SHA256 (allegro-4.4.1.1.tar.gz) = 4e29884cba88b289da5b22da93e8760d68a197d093b23f61e994f3594760d782
|
||||
SIZE (allegro-4.4.1.1.tar.gz) = 4625438
|
||||
|
@ -1,43 +0,0 @@
|
||||
--- include/allegro/inline/fmaths.inl.orig Sun Jun 5 18:23:46 2005
|
||||
+++ include/allegro/inline/fmaths.inl Thu Aug 11 18:53:53 2005
|
||||
@@ -103,40 +103,11 @@
|
||||
|
||||
AL_INLINE(fixed, fixmul, (fixed x, fixed y),
|
||||
{
|
||||
- /* In benchmarks conducted circa May 2005 we found that, in the main:
|
||||
- * - IA32 machines performed faster with one implementation;
|
||||
- * - AMD64 and G4 machines performed faster with another implementation.
|
||||
- *
|
||||
- * Benchmarks were mainly done with differing versions of gcc.
|
||||
- * Results varied with other compilers, optimisation levels, etc.
|
||||
- * so this is not optimal, though a tenable compromise.
|
||||
- */
|
||||
- #if (defined ALLEGRO_I386) || (!defined LONG_LONG)
|
||||
-
|
||||
- fixed sign = (x^y) & 0x80000000;
|
||||
- int mask_x = x >> 31;
|
||||
- int mask_y = y >> 31;
|
||||
- int mask_result = sign >> 31;
|
||||
- fixed result;
|
||||
-
|
||||
- x = (x^mask_x) - mask_x;
|
||||
- y = (y^mask_y) - mask_y;
|
||||
-
|
||||
- result = ((y >> 8)*(x >> 8) +
|
||||
- (((y >> 8)*(x&0xff)) >> 8) +
|
||||
- (((x >> 8)*(y&0xff)) >> 8));
|
||||
-
|
||||
- return (result^mask_result) - mask_result;
|
||||
-
|
||||
- #else
|
||||
-
|
||||
LONG_LONG lx = x;
|
||||
LONG_LONG ly = y;
|
||||
LONG_LONG lres = (lx*ly)>>16;
|
||||
int res = lres;
|
||||
return res;
|
||||
-
|
||||
- #endif
|
||||
})
|
||||
|
||||
|
32
devel/allegro-devel/files/patch-CMakeLists.txt
Normal file
32
devel/allegro-devel/files/patch-CMakeLists.txt
Normal file
@ -0,0 +1,32 @@
|
||||
--- CMakeLists.txt.orig 2010-03-03 11:07:40.000000000 +0100
|
||||
+++ CMakeLists.txt 2011-01-19 12:38:44.000000000 +0100
|
||||
@@ -66,7 +66,7 @@
|
||||
endif(WIN32)
|
||||
|
||||
set(ALLEGRO_VERSION 4.4.1)
|
||||
-string(REGEX MATCH "^[0-9]+[.][0-9]+" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
|
||||
+string(REGEX MATCH "^[0-9]" ALLEGRO_SOVERSION ${ALLEGRO_VERSION})
|
||||
|
||||
# Mac OS X -compatibility_version.
|
||||
# XXX doesn't seem to work
|
||||
@@ -83,6 +83,7 @@
|
||||
|
||||
# Put libraries into `lib'.
|
||||
set(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}/lib)
|
||||
+set(LIBDATA_OUTPUT_PATH ${CMAKE_BINARY_DIR}/libdata)
|
||||
|
||||
# Lists of all the source files.
|
||||
include(FileList)
|
||||
@@ -880,10 +881,10 @@
|
||||
|
||||
configure_file(
|
||||
misc/${name}.pc.in
|
||||
- ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
|
||||
+ ${LIBDATA_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
|
||||
@ONLY
|
||||
)
|
||||
- install(FILES ${LIBRARY_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
|
||||
+ install(FILES ${LIBDATA_OUTPUT_PATH}/pkgconfig/${name}${lib_type}.pc
|
||||
DESTINATION "lib${LIB_SUFFIX}/pkgconfig"
|
||||
)
|
||||
endforeach(name)
|
@ -1,26 +0,0 @@
|
||||
--- aclocal.m4.orig 2007-06-16 01:52:28.000000000 +0000
|
||||
+++ aclocal.m4 2008-07-14 15:10:32.000000000 +0000
|
||||
@@ -195,3 +195,2 @@
|
||||
dnl
|
||||
-AC_MSG_CHECKING(for System V sys/procfs)
|
||||
AC_DEFUN(ALLEGRO_ACTEST_SV_PROCFS, [
|
||||
@@ -211,3 +210,2 @@
|
||||
])
|
||||
-AC_MSG_RESULT($allegro_sv_procfs)
|
||||
|
||||
@@ -219,3 +217,2 @@
|
||||
dnl
|
||||
-AC_MSG_CHECKING(if sys/procfs.h tells us argc/argv)
|
||||
AC_DEFUN(ALLEGRO_ACTEST_PROCFS_ARGCV, [
|
||||
@@ -228,3 +225,2 @@
|
||||
])
|
||||
-AC_MSG_RESULT($allegro_procfs_argcv)
|
||||
|
||||
@@ -236,3 +232,2 @@
|
||||
dnl
|
||||
-AC_MSG_CHECKING(for getexecname)
|
||||
AC_DEFUN(ALLEGRO_ACTEST_SYS_GETEXECNAME,
|
||||
@@ -242,3 +237,2 @@
|
||||
)
|
||||
-AC_MSG_RESULT($allegro_sys_getexecname)
|
||||
|
@ -1,32 +0,0 @@
|
||||
--- configure.in.orig Sun Jun 12 04:53:19 2005
|
||||
+++ configure.in Fri Aug 5 15:09:10 2005
|
||||
@@ -297,8 +297,8 @@
|
||||
allegro_static_libraries=yes
|
||||
_programs="statically linked $_programs"
|
||||
else
|
||||
- LIBALLEG="lib/unix/lib${LIB_TO_LINK}-\$(shared_version).so lib/unix/lib${LIB_TO_LINK}_unsharable.a"
|
||||
- LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK}-\$(shared_version) -l${LIB_TO_LINK}_unsharable -lm"
|
||||
+ LIBALLEG="lib/unix/lib${LIB_TO_LINK}.so.\$(shared_version) lib/unix/lib${LIB_TO_LINK}_unsharable.a"
|
||||
+ LINK_LIBALLEG="-Llib/unix -l${LIB_TO_LINK} -l${LIB_TO_LINK}_unsharable -lm"
|
||||
LINK_WITH_STATIC_LIBS=no
|
||||
allegro_shared_libraries=yes
|
||||
_programs="dynamically linked $_programs"
|
||||
@@ -337,15 +337,15 @@
|
||||
|
||||
_libraries="$_libraries shared"
|
||||
if test "X$allegro_build_normal_library" = "Xyes"; then
|
||||
- ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballeg-\$(shared_version).so lib/unix/liballeg_unsharable.a"
|
||||
+ ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballeg.so.\$(shared_version) lib/unix/liballeg_unsharable.a"
|
||||
_libraries="$_libraries release"
|
||||
fi
|
||||
if test "X$allegro_build_debugging_library" = "Xyes"; then
|
||||
- ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballd-\$(shared_version).so lib/unix/liballd_unsharable.a"
|
||||
+ ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballd.so.\$(shared_version) lib/unix/liballd_unsharable.a"
|
||||
_libraries="$_libraries debug"
|
||||
fi
|
||||
if test "X$allegro_build_profiling_library" = "Xyes"; then
|
||||
- ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballp-\$(shared_version).so lib/unix/liballp_unsharable.a"
|
||||
+ ALLEGRO_LIB_TARGETS="$ALLEGRO_LIB_TARGETS lib/unix/liballp.so.\$(shared_version) lib/unix/liballp_unsharable.a"
|
||||
_libraries="$_libraries profile"
|
||||
fi
|
||||
fi
|
11
devel/allegro-devel/files/patch-docs_CMakeLists.txt
Normal file
11
devel/allegro-devel/files/patch-docs_CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
--- docs/CMakeLists.txt.orig 2010-12-15 13:29:42.000000000 +0600
|
||||
+++ docs/CMakeLists.txt 2010-12-15 13:29:49.000000000 +0600
|
||||
@@ -9,7 +9,7 @@
|
||||
endif()
|
||||
|
||||
set(DOCDIR "doc" CACHE STRING "Install docs into $DOCDIR/allegro-$VERSION")
|
||||
-set(ACTUAL_DOC_DIR "${DOCDIR}/allegro-${ALLEGRO_VERSION}")
|
||||
+set(ACTUAL_DOC_DIR "${DOCDIR}")
|
||||
|
||||
add_executable(makedoc
|
||||
src/makedoc/makedoc.c
|
@ -1,68 +0,0 @@
|
||||
--- makefile.in.orig Mon Jul 24 09:10:58 2006
|
||||
+++ makefile.in Wed Aug 9 19:15:49 2006
|
||||
@@ -29,12 +29,13 @@
|
||||
INFO_DIR = $(infodir)/dir
|
||||
DESTDIR =
|
||||
|
||||
-ACLOCAL = aclocal
|
||||
-AUTOCONF = autoconf
|
||||
-AUTOHEADER = autoheader
|
||||
+ACLOCAL = true
|
||||
+AUTOCONF = true
|
||||
+AUTOHEADER = true
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
INSTALL_INFO = @INSTALL_INFO@
|
||||
|
||||
@@ -355,6 +356,11 @@
|
||||
endif
|
||||
|
||||
lib: $(ALLEGRO_LIB_TARGETS)
|
||||
+ @for l in alleg alld allp; do \
|
||||
+ if test -f $(LIBDIR)/lib$${l}.so.$(shared_version); then \
|
||||
+ ln -sf lib$${l}.so.$(shared_version) $(LIBDIR)/lib$${l}.so; \
|
||||
+ fi; \
|
||||
+ done
|
||||
|
||||
modules: $(ALLEGRO_MODULE_TARGETS)
|
||||
|
||||
@@ -466,9 +472,9 @@
|
||||
fi; \
|
||||
done
|
||||
@for l in alleg alld allp; do \
|
||||
- if test -f $(LIBDIR)/lib$${l}-$(shared_version).so; then \
|
||||
- echo Installing $(LIBDIR)/lib$${l}-$(shared_version).so to $(DESTDIR)$(libdir); \
|
||||
- $(INSTALL_PROGRAM) $(LIBDIR)/lib$${l}-$(shared_version).so $(DESTDIR)$(libdir)/; \
|
||||
+ if test -f $(LIBDIR)/lib$${l}.so.$(shared_version); then \
|
||||
+ echo Installing $(LIBDIR)/lib$${l}.so.$(shared_version) to $(libdir); \
|
||||
+ $(INSTALL_PROGRAM) $(LIBDIR)/lib$${l}.so.$(shared_version) $(libdir)/; \
|
||||
$(INSTALL_DATA) $(LIBDIR)/lib$${l}_unsharable.a $(DESTDIR)$(libdir)/; \
|
||||
fi; \
|
||||
done
|
||||
@@ -482,20 +488,10 @@
|
||||
fi
|
||||
$(mkinstalldirs) $(DESTDIR)$(bindir)
|
||||
@echo Installing allegro-config to $(DESTDIR)$(bindir)
|
||||
- @$(INSTALL_PROGRAM) allegro-config $(DESTDIR)$(bindir)
|
||||
- @if test -n "$(LIBDIR)/liball*-$(shared_version).so"; then \
|
||||
- (cat /etc/ld.so.conf | grep $(libdir) >/dev/null || \
|
||||
- test $(libdir) = /lib || test $(libdir) = /usr/lib) \
|
||||
- && ($(LDCONFIG) $(libdir) || true) || (\
|
||||
- echo "" ; \
|
||||
- echo "Warning: shared library destination $(libdir) is not in ldd search path." ; \
|
||||
- echo "Unless you add it to /etc/ld.so.conf, you must set LD_LIBRARY_PATH to include"; \
|
||||
- echo "$(libdir) each time you want to run an Allegro program." ; \
|
||||
- ) ; \
|
||||
- fi
|
||||
+ @$(INSTALL_SCRIPT) allegro-config $(DESTDIR)$(bindir)
|
||||
@for l in alleg alld allp; do \
|
||||
- if test -f $(DESTDIR)$(libdir)/lib$${l}-$(shared_version).so -a \! -h $(DESTDIR)$(libdir)/lib$${l}.so.${shared_major_minor}; then \
|
||||
- (cd $(DESTDIR)$(libdir); ln -s lib$${l}-$(shared_version).so lib$${l}.so.${shared_major_minor}); \
|
||||
+ if test -f $(DESTDIR)$(libdir)/lib$${l}.so.$(shared_version) -a \! -h $(DESTDIR)$(libdir)/lib$${l}.so; then \
|
||||
+ (cd $(DESTDIR)$(libdir); ln -s lib$${l}.so.$(shared_version) lib$${l}.so); \
|
||||
fi; \
|
||||
done
|
||||
$(mkinstalldirs) $(DESTDIR)$(prefix)/share/aclocal
|
@ -1,11 +0,0 @@
|
||||
--- misc/allegro-config.in.orig Wed Oct 23 08:10:01 2002
|
||||
+++ misc/allegro-config.in Mon Nov 11 18:41:09 2002
|
||||
@@ -167,7 +167,7 @@
|
||||
if test "$static_libs" = "yes"; then
|
||||
echo $libdirs $allegro_ldflags -l${lib_type} $allegro_libs
|
||||
else
|
||||
- echo $libdirs $allegro_ldflags -l${lib_type}-${version} -l${lib_type}_unsharable
|
||||
+ echo $libdirs $allegro_ldflags -l${lib_type} -l${lib_type}_unsharable
|
||||
fi
|
||||
fi
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- misc/deplib.sh.orig Sun Nov 9 19:43:07 2003
|
||||
+++ misc/deplib.sh Thu Dec 11 22:32:16 2003
|
||||
@@ -10,7 +10,7 @@
|
||||
staticlib="lib${1}.a"
|
||||
staticobj="\$(${2}_OBJECTS)"
|
||||
|
||||
- sharelib="lib${1}-\$(shared_version).so"
|
||||
+ sharelib="lib${1}.so.\$(shared_version)"
|
||||
shareobj="\$(${2}_SHARED_OBJECTS)"
|
||||
|
||||
unsharelib="lib${1}_unsharable.a"
|
||||
@@ -24,7 +24,7 @@
|
||||
echo " rm -f \$@"
|
||||
# gf: This bit is obviously gcc-specific
|
||||
# eb: Yes, but the GNU C Compiler doesn't always spell 'gcc'
|
||||
- echo " \$(CC) -shared -o \$@ ${shareobj} ${3} \$(LDFLAGS) -Wl,-h,lib${1}.so.\$(shared_major_minor) \$(LIBS)"
|
||||
+ echo " \$(CC) -shared -o \$@ ${shareobj} \$(LDFLAGS) -Wl,-h,lib${1}.so.\$(shared_version) \$(LIBS)"
|
||||
echo ""
|
||||
echo "\$(LIBDIR)/${unsharelib}: ${unshareobj}"
|
||||
echo " rm -f \$@"
|
@ -1,11 +0,0 @@
|
||||
--- src/i386/icsprite.c.orig Sat Apr 21 00:54:32 2007
|
||||
+++ src/i386/icsprite.c Thu May 3 15:30:34 2007
|
||||
@@ -16,6 +16,8 @@
|
||||
*/
|
||||
|
||||
|
||||
+#include <machine/param.h>
|
||||
+#include <sys/mman.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- ./src/i386/istretch.c.orig Sat Apr 21 00:54:32 2007
|
||||
+++ ./src/i386/istretch.c Thu May 3 16:04:38 2007
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
|
||||
#ifdef HAVE_MPROTECT
|
||||
- #include <sys/types.h>
|
||||
+ #include <sys/param.h>
|
||||
#include <sys/mman.h>
|
||||
#endif /* ifdef HAVE_MPROTECT */
|
||||
|
@ -1,21 +1,20 @@
|
||||
bin/allegro-config
|
||||
%%DEVEL%%bin/colormap
|
||||
%%DEVEL%%bin/dat
|
||||
%%DEVEL%%bin/dat2c
|
||||
%%DEVEL%%bin/dat2s
|
||||
%%DEVEL%%bin/exedat
|
||||
%%DEVEL%%bin/grabber
|
||||
%%DEVEL%%bin/pack
|
||||
%%DEVEL%%bin/pat2dat
|
||||
%%DEVEL%%bin/rgbmap
|
||||
%%DEVEL%%bin/textconv
|
||||
bin/colormap
|
||||
bin/dat
|
||||
bin/dat2c
|
||||
bin/dat2s
|
||||
bin/exedat
|
||||
bin/grabber
|
||||
bin/pack
|
||||
bin/pat2dat
|
||||
bin/rgbmap
|
||||
bin/textconv
|
||||
include/alleggl.h
|
||||
include/allegro.h
|
||||
include/allegro/3d.h
|
||||
include/allegro/3dmaths.h
|
||||
include/allegro/alcompat.h
|
||||
include/allegro/alinline.h
|
||||
include/allegro/altime.h
|
||||
include/allegro/alunixac.h
|
||||
include/allegro/base.h
|
||||
include/allegro/color.h
|
||||
include/allegro/compiled.h
|
||||
@ -23,9 +22,7 @@ include/allegro/config.h
|
||||
include/allegro/datafile.h
|
||||
include/allegro/debug.h
|
||||
include/allegro/digi.h
|
||||
include/allegro/display.h
|
||||
include/allegro/draw.h
|
||||
include/allegro/events.h
|
||||
include/allegro/file.h
|
||||
include/allegro/fix.h
|
||||
include/allegro/fixed.h
|
||||
@ -39,7 +36,6 @@ include/allegro/inline/3dmaths.inl
|
||||
include/allegro/inline/asm.inl
|
||||
include/allegro/inline/color.inl
|
||||
include/allegro/inline/draw.inl
|
||||
include/allegro/inline/file.inl
|
||||
include/allegro/inline/fix.inl
|
||||
include/allegro/inline/fmaths.inl
|
||||
include/allegro/inline/gfx.inl
|
||||
@ -47,21 +43,12 @@ include/allegro/inline/matrix.inl
|
||||
include/allegro/inline/rle.inl
|
||||
include/allegro/inline/system.inl
|
||||
include/allegro/internal/aintern.h
|
||||
include/allegro/internal/aintern_dtor.h
|
||||
include/allegro/internal/aintern_events.h
|
||||
include/allegro/internal/aintern_joystick.h
|
||||
include/allegro/internal/aintern_keyboard.h
|
||||
include/allegro/internal/aintern_mouse.h
|
||||
include/allegro/internal/aintern_thread.h
|
||||
include/allegro/internal/aintern_vector.h
|
||||
include/allegro/internal/aintvga.h
|
||||
include/allegro/internal/alconfig.h
|
||||
include/allegro/joystick.h
|
||||
include/allegro/keyboard.h
|
||||
include/allegro/keycodes.h
|
||||
include/allegro/lzss.h
|
||||
include/allegro/matrix.h
|
||||
include/allegro/memory.h
|
||||
include/allegro/midi.h
|
||||
include/allegro/mouse.h
|
||||
include/allegro/palette.h
|
||||
@ -70,6 +57,7 @@ include/allegro/platform/aintdos.h
|
||||
include/allegro/platform/aintlnx.h
|
||||
include/allegro/platform/aintmac.h
|
||||
include/allegro/platform/aintosx.h
|
||||
include/allegro/platform/aintpsp.h
|
||||
include/allegro/platform/aintqnx.h
|
||||
include/allegro/platform/aintunix.h
|
||||
include/allegro/platform/aintwin.h
|
||||
@ -80,6 +68,7 @@ include/allegro/platform/albcc32.h
|
||||
include/allegro/platform/albecfg.h
|
||||
include/allegro/platform/albeos.h
|
||||
include/allegro/platform/aldjgpp.h
|
||||
include/allegro/platform/aldmc.h
|
||||
include/allegro/platform/aldos.h
|
||||
include/allegro/platform/almac.h
|
||||
include/allegro/platform/almaccfg.h
|
||||
@ -88,6 +77,8 @@ include/allegro/platform/almsvc.h
|
||||
include/allegro/platform/alosx.h
|
||||
include/allegro/platform/alosxcfg.h
|
||||
include/allegro/platform/alplatf.h
|
||||
include/allegro/platform/alpsp.h
|
||||
include/allegro/platform/alpspcfg.h
|
||||
include/allegro/platform/alqnx.h
|
||||
include/allegro/platform/alqnxcfg.h
|
||||
include/allegro/platform/alucfg.h
|
||||
@ -95,7 +86,6 @@ include/allegro/platform/alunix.h
|
||||
include/allegro/platform/alunixac.h
|
||||
include/allegro/platform/alwatcom.h
|
||||
include/allegro/platform/alwin.h
|
||||
include/allegro/platform/astdbool.h
|
||||
include/allegro/platform/astdint.h
|
||||
include/allegro/platform/macdef.h
|
||||
include/allegro/quat.h
|
||||
@ -106,105 +96,69 @@ include/allegro/system.h
|
||||
include/allegro/text.h
|
||||
include/allegro/timer.h
|
||||
include/allegro/unicode.h
|
||||
include/linalleg.h
|
||||
include/allegrogl/GLext/gl_ext_alias.h
|
||||
include/allegrogl/GLext/gl_ext_api.h
|
||||
include/allegrogl/GLext/gl_ext_defs.h
|
||||
include/allegrogl/GLext/gl_ext_list.h
|
||||
include/allegrogl/GLext/glx_ext_alias.h
|
||||
include/allegrogl/GLext/glx_ext_api.h
|
||||
include/allegrogl/GLext/glx_ext_defs.h
|
||||
include/allegrogl/GLext/glx_ext_list.h
|
||||
include/allegrogl/GLext/wgl_ext_alias.h
|
||||
include/allegrogl/GLext/wgl_ext_api.h
|
||||
include/allegrogl/GLext/wgl_ext_defs.h
|
||||
include/allegrogl/GLext/wgl_ext_list.h
|
||||
include/allegrogl/alleggl_config.h
|
||||
include/allegrogl/gl_ext.h
|
||||
include/allegrogl/gl_header_detect.h
|
||||
include/jpgalleg.h
|
||||
include/loadpng.h
|
||||
include/logg.h
|
||||
include/xalleg.h
|
||||
%%ARTS%%lib/allegro/%%SHLIB_VER%%/alleg-artsdigi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-alsadigi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-alsamidi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-dga2.so
|
||||
%%ESOUND%%lib/allegro/%%SHLIB_VER%%/alleg-esddigi.so
|
||||
%%JACK%%lib/allegro/%%SHLIB_VER%%/alleg-jackdigi.so
|
||||
%%AL%%lib/allegro/%%SHLIB_VER%%/alleg-sgialdigi.so
|
||||
lib/allegro/%%SHLIB_VER%%/alleg-jack.so
|
||||
lib/allegro/%%SHLIB_VER%%/modules.lst
|
||||
%%DEBUG%%lib/liballd.so
|
||||
%%DEBUG%%lib/liballd.so.%%SHLIB_VER%%
|
||||
%%DEBUG%%lib/liballd_unsharable.a
|
||||
lib/liballeg.so
|
||||
lib/liballeg.so.4
|
||||
lib/liballeg.so.%%SHLIB_VER%%
|
||||
lib/liballeg_unsharable.a
|
||||
%%PROFILE%%lib/liballp.so
|
||||
%%PROFILE%%lib/liballp.so.%%SHLIB_VER%%
|
||||
%%PROFILE%%lib/liballp_unsharable.a
|
||||
share/aclocal/allegro.m4
|
||||
%%PORTDOCS%%%%DOCSDIR%%/abi.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ahack.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg000.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg001.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg002.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg003.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg004.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg005.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg006.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg007.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg008.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg009.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg010.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg011.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg012.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg013.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg014.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg015.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg016.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg017.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg018.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg019.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg020.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg021.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg022.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg023.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg024.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg025.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg026.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg027.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg028.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg029.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg030.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg031.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg032.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg033.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg034.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg035.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg036.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg037.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg038.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg039.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg040.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg041.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg042.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg043.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg044.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg045.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg046.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg047.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg048.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/alleg049.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/allegro.css
|
||||
%%PORTDOCS%%%%DOCSDIR%%/allegro.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/changes.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/const.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat2c.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat2s.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/datafile.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/faq.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/grabber.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/help.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/license.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/makedoc.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/mistakes.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/packfile.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme.html
|
||||
%%PORTDOCS%%%%DOCSDIR%%/thanks.html
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.c
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.dat
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/demo.h
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/music.txt
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/readme.txt
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
lib/liballeggl.a
|
||||
lib/libjpgalleg.a
|
||||
lib/libloadpng.a
|
||||
lib/liblogg.a
|
||||
lib/pkgconfig/allegro.pc
|
||||
lib/pkgconfig/allegrogl.pc
|
||||
lib/pkgconfig/jpgalleg.pc
|
||||
lib/pkgconfig/loadpng.pc
|
||||
lib/pkgconfig/logg.pc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/THANKS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/abi.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/addons.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ahack.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/allegro.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/const.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat2c.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dat2s.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/datafile.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/faq.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/grabber.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/help.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/license.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/makedoc.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/mistakes.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/packfile.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/readme.txt
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrmtry lib/pkgconfig
|
||||
@dirrm lib/allegro/%%SHLIB_VER%%
|
||||
@dirrm lib/allegro
|
||||
@dirrm include/allegrogl/GLext
|
||||
@dirrm include/allegrogl
|
||||
@dirrm include/allegro/platform
|
||||
@dirrm include/allegro/internal
|
||||
@dirrm include/allegro/inline
|
||||
|
Loading…
Reference in New Issue
Block a user