1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add some more module search paths.

This commit is contained in:
Joe Marcus Clarke 2003-05-12 00:55:32 +00:00
parent 3b512de74c
commit 020e9fd8c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80710
3 changed files with 29 additions and 2 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= ORBit2
PORTVERSION= 2.6.1
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.6
@ -28,8 +29,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-patch:
@find ${WRKSRC} -type f | xargs ${GREP} -l LINC_THREADSAFE | \
xargs ${REINPLACE_CMD} -e 's|LINC_THREADSAFE|G_THREADS_ENABLED|g'
@${FIND} ${WRKSRC} -type f | ${XARGS} ${GREP} -l LINC_THREADSAFE | \
${XARGS} ${REINPLACE_CMD} -e 's|LINC_THREADSAFE|G_THREADS_ENABLED|g'
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
s|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/idl-compiler/orbit-idl-backend.c \
${WRKSRC}/src/orb/orb-core/orbit-typelib.c
post-install:
@${ECHO_CMD} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbit2rc.default

View File

@ -0,0 +1,11 @@
--- src/idl-compiler/orbit-idl-backend.c.orig Tue Oct 1 23:32:46 2002
+++ src/idl-compiler/orbit-idl-backend.c Sun May 11 20:51:19 2003
@@ -38,6 +38,8 @@
char **strv;
int i;
+ paths = g_slist_prepend (paths, "/usr/X11R6/lib/orbit-2.0/idl-backends");
+
if (!(val = getenv ("GNOME2_PATH")))
return paths;

View File

@ -0,0 +1,11 @@
--- src/orb/orb-core/orbit-typelib.c.orig Sun May 11 20:37:14 2003
+++ src/orb/orb-core/orbit-typelib.c Sun May 11 20:40:42 2003
@@ -215,6 +215,8 @@
paths = g_ptr_array_sized_new (8);
g_ptr_array_add (paths, g_strdup (ORBIT_TYPELIB_DIR));
+ add_if_unique(paths, "%%X11BASE%%");
+ add_if_unique(paths, "%%LOCALBASE%%");
if ((path = g_getenv ("ORBIT_TYPELIB_PATH"))) {
char **strv;