diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2003-06-18 05:20:04 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2003-06-18 05:20:04 +0000 |
commit | 0f084d5028228fe057ea53846c3235a7b9bc26e2 (patch) | |
tree | 4b6861db295c93a15af5f2b3a74701d95eebff27 /devel/ruby-gnustep | |
parent | 0431ec9a94b527dab0319f372ffcb65e8ee0512f (diff) | |
download | ports-0f084d5028228fe057ea53846c3235a7b9bc26e2.tar.gz ports-0f084d5028228fe057ea53846c3235a7b9bc26e2.zip |
- Add WITH_GNUSTEP_DEVEL
- resolve namespace confict
Approved by: knu
Notes
Notes:
svn path=/head/; revision=83231
Diffstat (limited to 'devel/ruby-gnustep')
-rw-r--r-- | devel/ruby-gnustep/Makefile | 8 | ||||
-rw-r--r-- | devel/ruby-gnustep/files/patch-RIGSCore.m | 23 | ||||
-rw-r--r-- | devel/ruby-gnustep/pkg-plist | 16 |
3 files changed, 38 insertions, 9 deletions
diff --git a/devel/ruby-gnustep/Makefile b/devel/ruby-gnustep/Makefile index 8b71054ab379..244cb7ec4c67 100644 --- a/devel/ruby-gnustep/Makefile +++ b/devel/ruby-gnustep/Makefile @@ -43,9 +43,15 @@ GNUSTEP_NETWORK_ROOT= ${GNUSTEP_PREFIX}/Network GNUSTEP_USER_ROOT= ${GNUSTEP_PREFIX}/Local/Users GNUSTEP_MAKEFILES= ${GNUSTEP_SYSTEM_ROOT}/Makefiles +BACKBUNDLEDIR= ${GNUSTEP_PREFIX}/System/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/ +.if defined(WITH_GNUSTEP_DEVEL) +SYSLIBDIR= ${GNUSTEP_PREFIX}/System/Library/Libraries/${GNU_ARCH}/${OPSYS:L} +PLIST_SUB+= LOCALLIBRARY=Local/Library +.else SYSLIBDIR= ${GNUSTEP_PREFIX}/System/Libraries/${GNU_ARCH}/${OPSYS:L} +PLIST_SUB+= LOCALLIBRARY=Local +.endif COMBOLIBDIR= ${SYSLIBDIR}/gnu-gnu-gnu -BACKBUNDLEDIR= ${GNUSTEP_PREFIX}/System/Library/Bundles/libgnustep-back.bundle/${GNU_ARCH}/${OPSYS:L}/gnu-gnu-gnu/ .include <bsd.port.pre.mk> diff --git a/devel/ruby-gnustep/files/patch-RIGSCore.m b/devel/ruby-gnustep/files/patch-RIGSCore.m new file mode 100644 index 000000000000..41a84983ebc7 --- /dev/null +++ b/devel/ruby-gnustep/files/patch-RIGSCore.m @@ -0,0 +1,23 @@ +--- Source/RIGSCore.m.orig Sat May 31 18:23:50 2003 ++++ Source/RIGSCore.m Sun Jun 1 16:57:00 2003 +@@ -988,7 +988,7 @@ + (see below) + */ + #ifdef GNUSTEP +-static MethodList_t class_nextMethodList( Class class, void ** iterator_ptr) ++static MethodList_t rb_class_nextMethodList( Class class, void ** iterator_ptr) + { + MethodList_t mlist; + +@@ -1015,7 +1015,11 @@ + + while(class) { + ++#ifdef GNUSTEP ++ while( (mlist = rb_class_nextMethodList(class, &iterator)) != NULL) { ++#else + while( (mlist = class_nextMethodList(class, &iterator)) != NULL) { ++#endif + + for(i = 0; i < mlist->method_count; i++) { + SEL sel = mlist->method_list[i].method_name; diff --git a/devel/ruby-gnustep/pkg-plist b/devel/ruby-gnustep/pkg-plist index 1076909d6749..8315d24db51c 100644 --- a/devel/ruby-gnustep/pkg-plist +++ b/devel/ruby-gnustep/pkg-plist @@ -63,14 +63,14 @@ %%RUBY_SITELIBDIR%%/rigs/NSWindow.rb %%RUBY_SITEARCHLIBDIR%%/librigs.so @dirrm %%RUBY_SITELIBDIR%%/rigs -GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0.2.1 -GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0 -GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so -@unexec /bin/rmdir %D/GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu 2> /dev/null || true -@unexec /bin/rmdir %D/GNUstep/Local/Libraries/%%GNU_ARCH%%/%%OPSYS%% 2> /dev/null || true -@unexec /bin/rmdir %D/GNUstep/Local/Libraries/%%GNU_ARCH%% 2> /dev/null || true -@unexec /bin/rmdir %D/GNUstep/Local/Libraries 2> /dev/null || true -@unexec /bin/rmdir %D/GNUstep/Local/Headers 2> /dev/null || true +GNUstep/%%LOCALLIBRARY%%/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0.2.1 +GNUstep/%%LOCALLIBRARY%%/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so.0 +GNUstep/%%LOCALLIBRARY%%/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu/librigs.so +@unexec /bin/rmdir %D/GNUstep/%%LOCALLIBRARY%%/Libraries/%%GNU_ARCH%%/%%OPSYS%%/gnu-gnu-gnu 2> /dev/null || true +@unexec /bin/rmdir %D/GNUstep/%%LOCALLIBRARY%%/Libraries/%%GNU_ARCH%%/%%OPSYS%% 2> /dev/null || true +@unexec /bin/rmdir %D/GNUstep/%%LOCALLIBRARY%%/Libraries/%%GNU_ARCH%% 2> /dev/null || true +@unexec /bin/rmdir %D/GNUstep/%%LOCALLIBRARY%%/Libraries 2> /dev/null || true +@unexec /bin/rmdir %D/GNUstep/%%LOCALLIBRARY%%/Headers 2> /dev/null || true %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/Base/Simple.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/Gui/CurrencyConverter/CurrencyConverter.rb %%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/Gui/CurrencyConverter/CurrencyConverterIcon.tiff |