summaryrefslogtreecommitdiff
path: root/editors/setedit
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commit3e4ed01146cfe2bdca465bd0e4d199341f62a0b6 (patch)
treed573ea09b2bf6be67cb497df199932da9e2707c4 /editors/setedit
parentUpdate to version 2.2.6 (diff)
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Notes
Notes: svn path=/head/; revision=211584
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+)/)
{