update to xnc-4.4.6; thx matt@

- distinfo
- dlopen patch integrated
This commit is contained in:
reinhard 2001-12-06 12:42:32 +00:00
parent d86c55e5cc
commit cfd9c7aac8
7 changed files with 33 additions and 50 deletions

View File

@ -1,17 +1,17 @@
# $OpenBSD: Makefile,v 1.5 2001/07/13 14:03:16 reinhard Exp $
# $OpenBSD: Makefile,v 1.6 2001/12/06 12:42:32 reinhard Exp $
COMMENT= "filemanager for X Window"
DISTNAME= xnc-4.4.4
DISTNAME= xnc-4.4.6
DISTFILES= ${DISTNAME}.src${EXTRACT_SUFX}
CATEGORIES= misc x11
NEED_VERSION= 1.419
NEED_VERSION= 1.499
MAINTAINER= Reinhard J. Sammer <reinhard@openbsd.org>
HOMEPAGE= http://xnc.dubna.su
MASTER_SITES= ${HOMEPAGE}/src/
MASTER_SITES= ${HOMEPAGE}/src/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
@ -19,28 +19,29 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= jpeg.62.::graphics/jpeg \
png.2.::graphics/png
png.2.::graphics/png
USE_X11= Yes
NO_REGRESS= Yes
CONFIGURE_STYLE= gnu old
CONFIGURE_STYLE= gnu old dest
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-x
LIBS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --with-x
XNLAUNCHFILES= .launch.menu .xnlaunch.ini graphs.gif ives.gif kill.gif \
map.gif netscape.gif term.gif tnet.gif
post-patch:
perl -pi -e 's,\@prefix\@,${PREFIX},g' ${WRKSRC}/xncdirs.h.in
@perl -pi -e 's,\@prefix\@,${PREFIX},g' ${WRKSRC}/xncdirs.h.in
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xnc
cd ${WRKSRC}/.xlaunch && \
${INSTALL_DATA} ${XNLAUNCHFILES} ${PREFIX}/share/examples/xnc
cd ${PREFIX}/bin && \
${STRIP} es ives vs xjpegroot xnc xnlaunch xncsetup
${STRIP} es ives vs xjpegroot xnc xnlaunch xncloader xncsetup
.include <bsd.port.mk>

3
misc/xnc/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (xnc-4.4.6.src.tar.gz) = 371bd6c9463c5bfff83cbf92d80ca6a5
RMD160 (xnc-4.4.6.src.tar.gz) = 6a5b7ca4e87b3e6dec76f0686670d7a2509ffe74
SHA1 (xnc-4.4.6.src.tar.gz) = d61dde03d8d7d87f526cc43640ecb85b51bbab11

View File

@ -1,3 +0,0 @@
MD5 (xnc-4.4.4.src.tar.gz) = 2d4501a74c78667855f2deeca1eb7ecd
RMD160 (xnc-4.4.4.src.tar.gz) = 763853cee1cc496fd329350889ec7ce4c7861a9e
SHA1 (xnc-4.4.4.src.tar.gz) = a925394bed73057aceb1b4a67294358655bf000f

View File

@ -1,26 +1,20 @@
$OpenBSD: patch-Makefile_in,v 1.2 2001/07/13 14:03:20 reinhard Exp $
--- Makefile.in.orig Thu Apr 19 09:13:34 2001
+++ Makefile.in Thu Jul 12 11:28:35 2001
@@ -184,6 +184,9 @@ config: FORCE
#INSTMAN=${PREFIX}/man # for faking
#INSTPLUG=${PREFIX}/lib # for faking
+INSTDIR=${PREFIX}/bin # for faking
+INSTMAN=${PREFIX}/man # for faking
+INSTPLUG=${PREFIX}/lib # for faking
install:
#Installing X Northern Captain...
$(INS) ./users.xnc $(INSTDIR)
@@ -202,9 +205,9 @@ install:
$OpenBSD: patch-Makefile_in,v 1.3 2001/12/06 12:42:32 reinhard Exp $
--- Makefile.in.orig Wed Sep 12 17:07:23 2001
+++ Makefile.in Tue Nov 20 11:15:06 2001
@@ -213,13 +213,13 @@ install: install-$(PLUGINS)
$(INS) ./launch/xnlaunch $(INSTDIR)
$(INS) ./resloader/xncloader $(INSTDIR)
/bin/sh ./replace.script
- @echo "Don't foget run 'xncsetup' before starting XNC"
+ @echo "Don't forget run 'xncsetup' before starting XNC"
install-plugins:
mkdir -p $(INSTPLUG)
- $(INS) ./plugins/five/libxncfive.so $(INSTPLUG)
- $(INS) ./plugins/aqua/libxncaqua.so $(INSTPLUG)
- echo "Don't foget run 'xncsetup' before starting XNC"
+ $(INS) ./plugins/five/libxncfive.so $(INSTPLUG)/libxncfive.so.0.0
+ $(INS) ./plugins/aqua/libxncaqua.so $(INSTPLUG)/libxncaqua.so.0.0
+ echo "Don't forget run 'xncsetup' before starting XNC"
install-rpm:
cp ./yo-man/*.1 /usr/local/man/man1
install-:
@echo "Skipping..."

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-pluginman_cxx,v 1.1 2001/07/13 14:03:23 reinhard Exp $
--- pluginman.cxx.orig Tue Apr 17 10:45:25 2001
+++ pluginman.cxx Wed Jul 11 18:07:05 2001
@@ -69,6 +69,10 @@ dlsym(void* vhandle, const char *name)
#define RTLD_LAZY 0
#endif
+#ifndef __ELF__ /* a.out systems need to prefix an */
+#define dlsym(x,y) dlsym(x, "_" y) /* underscore to symbol names */
+#endif
+
#endif
////////////////////////////////////////////////////////////////////////////

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PFRAG.shared,v 1.1 2001/07/13 14:03:27 reinhard Exp $
lib/libxncaqua.so.0.0
lib/libxncfive.so.0.0
DYNLIBDIR(%D/lib)
@comment $OpenBSD: PFRAG.shared,v 1.2 2001/12/06 12:42:32 reinhard Exp $
lib/xnc/libxncaqua.so.0.0
lib/xnc/libxncfive.so.0.0
NEWDYNLIBDIR(%D/lib/xnc)

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.3 2001/07/13 14:03:27 reinhard Exp $
@comment $OpenBSD: PLIST,v 1.4 2001/12/06 12:42:32 reinhard Exp $
@pkgcfl es-[0-9]*
bin/bzip.xnc
bin/es
@ -10,6 +10,7 @@ bin/users.xnc
bin/vs
bin/xjpegroot
bin/xnc
bin/xncloader
bin/xncsetup
bin/xnlaunch
bin/zips.xnc
@ -30,3 +31,4 @@ share/examples/xnc/term.gif
share/examples/xnc/tnet.gif
%%SHARED%%
@dirrm share/examples/xnc
@dirrm lib/xnc