From 8917c8e4e6510c02b971565855cc56fb60f876b7 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Wed, 24 Sep 2003 09:03:28 +0000 Subject: Update port: graphics/openrm 1.4.3 -> 1.5.0 Updating port 1.4.3 -> 1.5.0 details: 1. Fixed contact emails 2. Wrote patches for the port in a different manner (now it would be easier to submit them to openrm developers) Unfortunatly openrm has quite ugly building environment, so MAKE_ARGS still remain. 3. Removed comments around pthread_setconcurrency in both library sources and one of demos. This function has been finally added to STABLE. PR: ports/56996 Submitted by: Igor Pokrovsky --- graphics/openrm/files/patch-bin-mklib.freebsd | 62 +++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 graphics/openrm/files/patch-bin-mklib.freebsd (limited to 'graphics/openrm/files/patch-bin-mklib.freebsd') diff --git a/graphics/openrm/files/patch-bin-mklib.freebsd b/graphics/openrm/files/patch-bin-mklib.freebsd new file mode 100644 index 000000000000..e05c94eff00d --- /dev/null +++ b/graphics/openrm/files/patch-bin-mklib.freebsd @@ -0,0 +1,62 @@ +--- /dev/null Fri Sep 19 10:51:17 2003 ++++ bin/mklib.freebsd Fri Sep 19 10:51:54 2003 +@@ -0,0 +1,59 @@ ++#!/bin/sh ++ ++# Make a FreeBSD ELF shared library ++ ++# $Id$ ++ ++#--common-------------------------------------------------------------- ++ ++# Usage: mklib ++# ++# are arcitecture specific build flags ++# is name of output library (LIBRARY) ++# is major version number (MAJOR) ++# is minor version number (MINOR) ++# remaining arguments are object files (OBJECTS) ++# ++# added local installation target prefix (RM_INSTALL) ++# tidied up the build ++# ++# 04/23/01 jdb ++# ++ ++ARCHFLAGS=$1 ++shift 1 ++ ++LIBRARY=$1 ++shift 1 ++ ++MAJOR=$1 ++shift 1 ++ ++MINOR=$1 ++shift 1 ++ ++# we don't care about ${MINOR} here ++VERSION=$MAJOR ++ ++OBJECTS=$* ++ ++DEPLIBS="-lGL -lGLU -L${X11BASE}/lib -lXmu" ++ ++#--platform------------------------------------------------------------ ++ ++# build library objects ++${ECHO_CMD} "Building shared object $LIBRARY.so.$VERSION and the archive library $LIBRARY.a" ++${RM} -f ${LIBRARY}.a ${LIBRARY}.so.${VERSION} ++${AR} qv ${LIBRARY}.a ${OBJECTS} ++ ++# FreeBSD specific build ++${CC} -shared -Wl,-soname,${LIBRARY}.so.${VERSION} -o ${LIBRARY}.so.${VERSION} ${OBJECTS} ${DEPLIBS} ++if [ ${ARCHFLAGS##*-} != "debug" ]; then ++ ${STRIP_CMD} ${LIBRARY}.so.${VERSION} ++ ${ECHO_CMD} "library has been stripped (non-debug build)." ++fi ++ ++# code tree ++${CP} ${LIBRARY}.a ${LIBRARY}.so.${VERSION} ../lib ++${RM} -f ../lib/${LIBRARY}.so ++${LN} -s ${LIBRARY}.so.${VERSION} ${LIBRARY}.so -- cgit v1.2.3