From 09c23c8eff999c2a0038c26923e9567b0ecc5cde Mon Sep 17 00:00:00 2001 From: Kirill Ponomarev Date: Thu, 16 Oct 2003 20:27:06 +0000 Subject: - Update to version 0.3.4 - Unbreak on -current PR: 58126 Submitted by: Ports Fury --- editors/lfhex/Makefile | 33 +++++++++--------------------- editors/lfhex/distinfo | 2 +- editors/lfhex/files/patch-hexEditor.cpp | 11 ---------- editors/lfhex/files/patch-hexGui.cpp | 10 --------- editors/lfhex/files/patch-src::Makefile.in | 16 --------------- editors/lfhex/files/patch-src::reader.cpp | 16 +++++++++++---- 6 files changed, 23 insertions(+), 65 deletions(-) delete mode 100644 editors/lfhex/files/patch-hexEditor.cpp delete mode 100644 editors/lfhex/files/patch-hexGui.cpp delete mode 100644 editors/lfhex/files/patch-src::Makefile.in (limited to 'editors/lfhex') diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile index a92b70fbe495..ff027bf65e57 100644 --- a/editors/lfhex/Makefile +++ b/editors/lfhex/Makefile @@ -7,34 +7,21 @@ # PORTNAME= lfhex -PORTVERSION= 0.3.2 -PORTREVISION= 2 +PORTVERSION= 0.3.4 CATEGORIES= editors -MASTER_SITES= ${MASTER_SITE_LOCAL} -MASTER_SITE_SUBDIR= arved +MASTER_SITES= http://home.earthlink.net/~eyekode/data/ -MAINTAINER= ports@freebsd.org -COMMENT= "Large file hex editor" +MAINTAINER= ports@FreeBSD.org +COMMENT= Large file hex editor -USE_GETOPT_LONG=yes -USE_REINPLACE= yes USE_QT_VER= 3 +USE_GMAKE= yes GNU_CONFIGURE= yes +CONFIGURE_ENV= QTDIR="${QT_PREFIX}" CONFIGURE_ARGS= --with-qt-moc=${MOC} -USE_GMAKE= yes -CONFIGURE_ENV= CXXFLAGS="${PTHREAD_CFLAGS}" - -.include - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - -post-patch: - @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g ; \ - s,%%X11BASE%%,${X11BASE},g" ${WRKSRC}/src/Makefile.in -post-configure: - ${REINPLACE_CMD} -e "s,LFLAGS =,LFLAGS = ${PTHREAD_LIBS} ${LDFLAGS}," ${WRKSRC}/src/Makefile +MAKE_ARGS= EXEC_PREFIX="${PREFIX}/bin" \ + IFLAGS="${QTCPPFLAGS} ${PTHREAD_CFLAGS}" \ + LFLAGS="${QTCFGLIBS} -lqt-mt ${PTHREAD_LIBS}" -.include +.include diff --git a/editors/lfhex/distinfo b/editors/lfhex/distinfo index 990b63c0fee3..e4c28dab4f9e 100644 --- a/editors/lfhex/distinfo +++ b/editors/lfhex/distinfo @@ -1 +1 @@ -MD5 (lfhex-0.3.2.tar.gz) = 28bcccd6bc77b8de92d31e9361b26531 +MD5 (lfhex-0.3.4.tar.gz) = 59aaa0ed92155106509a2cc9cb36bf1d diff --git a/editors/lfhex/files/patch-hexEditor.cpp b/editors/lfhex/files/patch-hexEditor.cpp deleted file mode 100644 index 37e262386879..000000000000 --- a/editors/lfhex/files/patch-hexEditor.cpp +++ /dev/null @@ -1,11 +0,0 @@ ---- src/hexEditor.cpp.orig Sun Feb 23 00:37:11 2003 -+++ src/hexEditor.cpp Sun Feb 23 00:38:31 2003 -@@ -22,6 +22,8 @@ - #include - #include - #include -+#include -+#include - - #include "config.h" - #include "hexEditor.hpp" diff --git a/editors/lfhex/files/patch-hexGui.cpp b/editors/lfhex/files/patch-hexGui.cpp deleted file mode 100644 index 274e649e95ca..000000000000 --- a/editors/lfhex/files/patch-hexGui.cpp +++ /dev/null @@ -1,10 +0,0 @@ ---- src/hexGui.cpp.orig Sat Jul 7 04:16:01 2001 -+++ src/hexGui.cpp Sun Feb 23 00:40:32 2003 -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - //#include - //#include - //#include diff --git a/editors/lfhex/files/patch-src::Makefile.in b/editors/lfhex/files/patch-src::Makefile.in deleted file mode 100644 index 855e2db88993..000000000000 --- a/editors/lfhex/files/patch-src::Makefile.in +++ /dev/null @@ -1,16 +0,0 @@ ---- src/Makefile.in.orig Wed Jul 4 10:27:43 2001 -+++ src/Makefile.in Fri Jul 6 10:34:56 2001 -@@ -16,10 +16,10 @@ - endif - - CXXFLAGS = @CXXFLAGS@ --INCLUDE_DIRS = $(QTDIR)/include -+INCLUDE_DIRS = %%X11BASE%%/include - IFLAGS = $(addprefix -I,$(INCLUDE_DIRS)) --LIBRARIES = qt Xext X11 m --LIB_DIRS = $(QTDIR)/lib /usr/X11R6/lib -+LIBRARIES = qt-mt Xext X11 m -+LIB_DIRS = $(QTDIR)/lib /usr/X11R6/lib - LFLAGS = $(addprefix -L,$(LIB_DIRS)) $(addprefix -l,$(LIBRARIES)) - - CXX_SRC = $(wildcard *.cpp) diff --git a/editors/lfhex/files/patch-src::reader.cpp b/editors/lfhex/files/patch-src::reader.cpp index 427ada379c0a..e487c0b5662f 100644 --- a/editors/lfhex/files/patch-src::reader.cpp +++ b/editors/lfhex/files/patch-src::reader.cpp @@ -1,6 +1,14 @@ ---- src/reader.cpp.orig Sat Jul 7 04:16:01 2001 -+++ src/reader.cpp Sun Feb 23 00:46:53 2003 -@@ -227,7 +227,7 @@ +--- src/reader.cpp.orig Sat Jul 7 11:16:01 2001 ++++ src/reader.cpp Thu Oct 16 20:54:13 2003 +@@ -13,6 +13,7 @@ + #include + #include + #include ++#include + + // for stat: + #include +@@ -227,7 +228,7 @@ // free the page which is the furthest away from the page we are loading // this could be trouble if off_t is unsigned! @@ -9,7 +17,7 @@ while(!freePage(_firstPage++)); else while(!freePage(_lastPage--)); -@@ -285,7 +285,7 @@ +@@ -285,7 +286,7 @@ #ifdef LFHEX_IOS_BASE_FMTFLAGS ostream& operator<< (ostream&out, const ReadBuffer& buff) { -- cgit v1.2.3