diff --git a/editors/cooledit/Makefile b/editors/cooledit/Makefile index 063e799653b..89f7bce0146 100644 --- a/editors/cooledit/Makefile +++ b/editors/cooledit/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2005/10/23 09:52:21 alek Exp $ +# $OpenBSD: Makefile,v 1.22 2005/12/27 12:33:42 aanriot Exp $ COMMENT= "easy to use, graphical editor" @@ -6,6 +6,10 @@ CATEGORIES= editors MASTER_SITES= ${HOMEPAGE} HOMEPAGE= ftp://ftp.ibiblio.org/pub/Linux/apps/editors/X/cooledit/ DISTNAME= cooledit-3.17.14 +PKGNAME= ${DISTNAME}p0 + +SHARED_LIBS= Cw 1.0 +MODGNU_SHARED_LIBS= Cw '' MAINTAINER= Marc Espie @@ -14,6 +18,7 @@ FLAVOR?= PYTHON_VER= 2.3 WANTLIB= X11 c util +USE_LIBTOOL= Yes .if ${FLAVOR:L:Mpython} LIB_DEPENDS+= python${PYTHON_VER}.0.0:python-${PYTHON_VER}*:lang/python/${PYTHON_VER} diff --git a/editors/cooledit/patches/patch-ltconfig b/editors/cooledit/patches/patch-ltconfig deleted file mode 100644 index a8a5c0aee1c..00000000000 --- a/editors/cooledit/patches/patch-ltconfig +++ /dev/null @@ -1,51 +0,0 @@ ---- ltconfig.orig 2002-08-03 13:03:26.000000000 +0200 -+++ ltconfig 2003-08-01 20:33:56.000000000 +0200 -@@ -1105,6 +1105,9 @@ cygwin* | mingw*) - with_gnu_ld=no - fi - ;; -+openbsd*) -+ with_gnu_ld=no -+ ;; - - esac - -@@ -1391,10 +1394,21 @@ else - ;; - - openbsd*) -- archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' -- hardcode_libdir_flag_spec='-R$libdir' - hardcode_direct=yes - hardcode_shlibpath_var=no -+ case "$host_os" in -+ openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) -+ archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linkopts' -+ hardcode_libdir_flag_spec='-R$libdir' -+ ;; -+ *) -+ archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linkopts' -+ hardcode_libdir_flag_spec='${wl}-rpath,$libdir' -+ if [ "`/usr/bin/file /usr/lib/libc.so.* | grep ELF`" != "" ]; then -+ export_dynamic_flag_spec='${wl}-E' -+ fi -+ ;; -+ esac - ;; - - os2*) -@@ -1955,13 +1969,10 @@ netbsd*) - - openbsd*) - version_type=sunos -- if test "$with_gnu_ld" = yes; then -- need_lib_prefix=no -- need_version=no -- fi - library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' - finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' - shlibpath_var=LD_LIBRARY_PATH -+ deplibs_check_method='pass_all' - ;; - - os2*) diff --git a/editors/cooledit/patches/patch-ltmain.sh b/editors/cooledit/patches/patch-ltmain.sh deleted file mode 100644 index 1cb6e601c78..00000000000 --- a/editors/cooledit/patches/patch-ltmain.sh +++ /dev/null @@ -1,12 +0,0 @@ ---- ltmain.sh.orig Sat Nov 27 09:46:02 2004 -+++ ltmain.sh Thu Apr 28 22:24:50 2005 -@@ -1348,6 +1348,9 @@ EOF - prev= - continue - ;; -+ *-*-openbsd*) -+ # Do not include libc due to us having libc/libc_r. -+ ;; - *) - eval "$prev=\"\$arg\"" - prev= diff --git a/editors/cooledit/pkg/PFRAG.shared b/editors/cooledit/pkg/PFRAG.shared index b39a4c5bb43..31c25b8ca9d 100644 --- a/editors/cooledit/pkg/PFRAG.shared +++ b/editors/cooledit/pkg/PFRAG.shared @@ -1,2 +1,2 @@ -@comment $OpenBSD: PFRAG.shared,v 1.5 2004/09/15 18:01:06 espie Exp $ -@lib lib/libCw.so.1.0 +@comment $OpenBSD: PFRAG.shared,v 1.6 2005/12/27 12:33:42 aanriot Exp $ +@lib lib/libCw.so.${LIBCw_VERSION}