diff options
author | sf <sf@FreeBSD.org> | 2003-07-14 02:53:03 +0000 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2003-07-14 02:53:03 +0000 |
commit | 971087c2b4d6b0b917e3fac3ac1334b04f7c9907 (patch) | |
tree | 7181a8316bbb1b7be4386d9173b3c6ace07025da /editors | |
parent | 0cc85c09b55a7d94ca1d7c16c8eedae091f2840c (diff) | |
download | FreeBSD-ports-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.zip FreeBSD-ports-971087c2b4d6b0b917e3fac3ac1334b04f7c9907.tar.gz |
get rid of libgnugetopt dependency for -CURRENT,
use USE_GETOPT_LONG instead.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/lfhex/Makefile | 7 | ||||
-rw-r--r-- | editors/lfhex/files/patch-src::Makefile.in | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile index 1261a74..7a2cdb9 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 d4a29f6..855e2db 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) |