- use a proper way to mark RPATH (-R backwards-compat flag didn't

mark resulting libmozembed here)
- workaround no more
ok kurt@
This commit is contained in:
martynas 2008-08-26 18:11:03 +00:00
parent 7e0af9acf2
commit 4d2a54c035
2 changed files with 14 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.3 2008/08/23 21:40:08 martynas Exp $
# $OpenBSD: Makefile,v 1.4 2008/08/26 18:11:03 martynas Exp $
COMMENT= additional Python bindings for GNOME
GNOME_PROJECT= gnome-python-extras
GNOME_VERSION= 2.19.1
PKGNAME= py-gnome-extras-${VERSION}p0
PKGNAME= py-gnome-extras-${VERSION}p1
HOMEPAGE= http://www.pygtk.org/
@ -60,7 +60,6 @@ post-install:
do-regress: fake
cd ${WRKSRC}/tests && env \
LD_LIBRARY_PATH="${LOCALBASE}/xulrunner" \
PYTHONPATH="${WRKINST}${MODPY_LIBDIR}/site-packages/gtk-2.0" \
${MODPY_BIN} runtests.py

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-gtkmozembed_Makefile_in,v 1.1 2008/08/26 18:11:03 martynas Exp $
--- gtkmozembed/Makefile.in.orig Tue Jun 5 18:03:47 2007
+++ gtkmozembed/Makefile.in Mon Aug 25 16:38:27 2008
@@ -259,7 +259,7 @@ defs_DATA = gtkmozembed.defs
pkgpyexec_LTLIBRARIES = gtkmozembed.la
gtkmozembed_la_LDFLAGS = -module -avoid-version \
-export-symbols-regex initgtkmozembed \
- -R$(MOZILLA_HOME)
+ -Wl,-rpath,'$(MOZILLA_HOME)'
gtkmozembed_la_LIBADD = $(GTKMOZEMBED_LIBS)
gtkmozembed_la_SOURCES = gtkmozembedmodule.c