aboutsummaryrefslogtreecommitdiff
path: root/editors/lfhex
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2003-07-14 02:53:03 +0000
commitb185046be2ec03555daaf4f26d38542c403a9955 (patch)
tree0274ce607614533de66837fc1f70d4c35770d9e1 /editors/lfhex
parent88d002074007544d532f2495aeb93729291e6275 (diff)
downloadports-b185046be2ec03555daaf4f26d38542c403a9955.tar.gz
ports-b185046be2ec03555daaf4f26d38542c403a9955.zip
Notes
Diffstat (limited to 'editors/lfhex')
-rw-r--r--editors/lfhex/Makefile7
-rw-r--r--editors/lfhex/files/patch-src::Makefile.in6
2 files changed, 6 insertions, 7 deletions
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile
index 1261a742b0fa..7a2cdb995b5b 100644
--- a/editors/lfhex/Makefile
+++ b/editors/lfhex/Makefile
@@ -8,7 +8,7 @@
PORTNAME= lfhex
PORTVERSION= 0.3.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= arved
@@ -16,8 +16,7 @@ MASTER_SITE_SUBDIR= arved
MAINTAINER= ports@freebsd.org
COMMENT= "Large file hex editor"
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
+USE_GETOPT_LONG=yes
USE_REINPLACE= yes
USE_QT_VER= 3
GNU_CONFIGURE= yes
@@ -30,6 +29,6 @@ post-patch:
s,%%X11BASE%%,${X11BASE},g" ${WRKSRC}/src/Makefile.in
post-configure:
- ${REINPLACE_CMD} -e "s,LFLAGS =,LFLAGS = ${PTHREAD_LIBS}," ${WRKSRC}/src/Makefile
+ ${REINPLACE_CMD} -e "s,LFLAGS =,LFLAGS = ${PTHREAD_LIBS} ${LDFLAGS}," ${WRKSRC}/src/Makefile
.include <bsd.port.mk>
diff --git a/editors/lfhex/files/patch-src::Makefile.in b/editors/lfhex/files/patch-src::Makefile.in
index d4a29f691d27..855e2db88993 100644
--- a/editors/lfhex/files/patch-src::Makefile.in
+++ b/editors/lfhex/files/patch-src::Makefile.in
@@ -5,12 +5,12 @@
CXXFLAGS = @CXXFLAGS@
-INCLUDE_DIRS = $(QTDIR)/include
-+INCLUDE_DIRS = %%X11BASE%%/include %%LOCALBASE%%/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 gnugetopt
-+LIB_DIRS = $(QTDIR)/lib /usr/X11R6/lib %%LOCALBASE%%/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)