summaryrefslogtreecommitdiff
path: root/editors/setedit
diff options
context:
space:
mode:
Diffstat (limited to 'editors/setedit')
-rw-r--r--editors/setedit/Makefile6
-rw-r--r--editors/setedit/files/patch-config.pl4
2 files changed, 4 insertions, 6 deletions
diff --git a/editors/setedit/Makefile b/editors/setedit/Makefile
index ea13388a238c..e4869593d680 100644
--- a/editors/setedit/Makefile
+++ b/editors/setedit/Makefile
@@ -8,8 +8,7 @@ PORTNAME= setedit
PORTVERSION= 0.5.4
PORTREVISION= 1
CATEGORIES= editors
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= setedit
+MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= exile@chamber.ee
@@ -18,8 +17,7 @@ COMMENT= Programmer's editor with a nice Text User Interface (TUI)
LIB_DEPENDS= rhtv.2:${PORTSDIR}/devel/rhtvision
HAS_CONFIGURE= yes
-CONFIGURE_ENV= LOCALBASE="${LOCALBASE}" \
- X11BASE="${X11BASE}"
+CONFIGURE_ENV= LOCALBASE="${LOCALBASE}"
USE_PERL5_BUILD=yes
USE_GMAKE= yes
diff --git a/editors/setedit/files/patch-config.pl b/editors/setedit/files/patch-config.pl
index cd88b05bde79..cba2dbc20251 100644
--- a/editors/setedit/files/patch-config.pl
+++ b/editors/setedit/files/patch-config.pl
@@ -70,7 +70,7 @@
return 0;
}
';
-! $conf{'X11LibPath'}=$ENV{'X11BASE'} . '/lib' unless $conf{'X11LibPath'};
+! $conf{'X11LibPath'}=$ENV{'LOCALBASE'} . '/lib' unless $conf{'X11LibPath'};
$conf{'X11Lib'}='X11 Xmu' unless $conf{'X11Lib'};
$libs=$conf{'X11Lib'};
$libs=~s/(\S+)/-l$1/g;
@@ -87,7 +87,7 @@
{
if (!$conf{'X11IncludePath'})
{
-! $conf{'X11IncludePath'}=$ENV{'X11BASE'} . '/include';
+! $conf{'X11IncludePath'}=$ENV{'LOCALBASE'} . '/include';
$o.="-I$conf{'X11IncludePath'} -L$conf{'X11LibPath'} $libs";
if ($test=~/OK, (\d+)\.(\d+)/)
{