aboutsummaryrefslogtreecommitdiff
path: root/sysutils/sge61
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 /sysutils/sge61
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
Diffstat (limited to 'sysutils/sge61')
-rw-r--r--sysutils/sge61/Makefile6
-rw-r--r--sysutils/sge61/files/aimk.private2
-rw-r--r--sysutils/sge61/files/patch-aimk6
-rw-r--r--sysutils/sge61/files/patch-dist_util_arch__variables2
4 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/sge61/Makefile b/sysutils/sge61/Makefile
index 24dae6100d21..185904bef690 100644
--- a/sysutils/sge61/Makefile
+++ b/sysutils/sge61/Makefile
@@ -135,7 +135,7 @@ post-extract:
post-patch:
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
- -e "s|%%X11BASE%%|${X11BASE}|g" \
+ -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
${WRKSRC}/dist/util/arch_variables \
${WRKSRC}/dist/pvm/src/aimk
@@ -143,7 +143,7 @@ post-patch:
-e "s|%%CXX%%|${CXX}|g" \
-e "s|%%CFLAGS%%|${CFLAGS}|g" \
-e "s|%%CXXFLAGS%%|${CXXFLAGS}|g" \
- -e "s|%%X11BASE%%|${X11BASE}|g" \
+ -e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
${WRKSRC}/aimk \
${WRKSRC}/dist/pvm/src/aimk
@test -d ${WRKSRC}/3rdparty/qtcsh/${SGE_BUILD_ARCH} || \
@@ -163,7 +163,7 @@ post-patch:
${REINPLACE_CMD} "s|-g -O2|${CFLAGS}|"
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-e 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g' \
- -e 's|%%X11BASE%%|${X11BASE}|g' \
+ -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${FILESDIR}/aimk.private > ${WRKSRC}/aimk.private
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
-e 's|%%OPENSSLBASE%%|${OPENSSLBASE}|g' \
diff --git a/sysutils/sge61/files/aimk.private b/sysutils/sge61/files/aimk.private
index 7257c0d00c4c..f883b4c4dbbc 100644
--- a/sysutils/sge61/files/aimk.private
+++ b/sysutils/sge61/files/aimk.private
@@ -3,4 +3,4 @@ set OPENSSL_HOME = %%OPENSSLBASE%%
set BERKELEYDB_HOME = %%LOCALBASE%%
set BDB_INCLUDE_SUBDIR = db42
set BDB_LIB_SUFFIX = -4.2
-set X11BASE = %%X11BASE%%
+set LOCALBASE = %%LOCALBASE%%
diff --git a/sysutils/sge61/files/patch-aimk b/sysutils/sge61/files/patch-aimk
index 3a2704432295..c16574e2e682 100644
--- a/sysutils/sge61/files/patch-aimk
+++ b/sysutils/sge61/files/patch-aimk
@@ -24,7 +24,7 @@ $FreeBSD$
set DEPEND_FLAGS = "$CFLAGS $XMTINCD"
set PTHRDSFLAGS = "-D_REENTRANT -D__USE_REENTRANT"
- set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I/usr/X11R6/include"
-+ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I${X11BASE}/include"
++ set CFLAGS = "$OFLAG -Wall -DFREEBSD -D$BUILDARCH -DGETHOSTBYNAME_M -DGETHOSTBYADDR_M $DEBUG_FLAG $CFLAGS -I${LOCALBASE}/include"
set NOERR_CFLAG = "-Wno-error"
set LFLAGS = "$DEBUG_FLAG $LFLAGS -export-dynamic"
set LIBS = "$LIBS -lkvm"
@@ -33,10 +33,10 @@ $FreeBSD$
set XMTDEF = ""
- set XINCD = "$XMTINCD $XINCD -I/usr/X11/include"
-+ set XINCD = "$XMTINCD $XINCD -I${X11BASE}/include"
++ set XINCD = "$XMTINCD $XINCD -I${LOCALBASE}/include"
set XCFLAGS = "-Wno-strict-prototypes -Wno-error $XMTDEF $XINCD"
- set XLIBD = "-L/usr/X11R6/lib"
-+ set XLIBD = "-L${X11BASE}/lib"
++ set XLIBD = "-L${LOCALBASE}/lib"
set XLFLAGS = "$XLIBD"
set XLIBS = " -Xlinker -lXm -Xlinker -Bdynamic -lXpm -lXt -lXext -lX11 -lSM -lICE -lXp"
set RM = "rm -f"
diff --git a/sysutils/sge61/files/patch-dist_util_arch__variables b/sysutils/sge61/files/patch-dist_util_arch__variables
index 7a75f9d6d92d..f990992e69ea 100644
--- a/sysutils/sge61/files/patch-dist_util_arch__variables
+++ b/sysutils/sge61/files/patch-dist_util_arch__variables
@@ -11,7 +11,7 @@ $FreeBSD$
+ RC_PREFIX=%%LOCALBASE%%/etc/rc.d
RC_SUFFIX=.sh
- XTERM=/usr/X11R6/bin/xterm
-+ XTERM=%%X11BASE%%/bin/xterm
++ XTERM=%%LOCALBASE%%/bin/xterm
MAILER=/usr/bin/mail
QLOGIN_COMMAND=telnet
QLOGIN_DAEMON=/usr/libexec/telnetd