diff options
author | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-04-20 01:56:05 +0800 |
commit | bce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch) | |
tree | f5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /sysutils/sge62 | |
parent | 2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff) | |
download | freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip |
- 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)
Diffstat (limited to 'sysutils/sge62')
-rw-r--r-- | sysutils/sge62/Makefile | 6 | ||||
-rw-r--r-- | sysutils/sge62/files/aimk.private | 2 | ||||
-rw-r--r-- | sysutils/sge62/files/patch-aimk | 6 | ||||
-rw-r--r-- | sysutils/sge62/files/patch-dist_util_arch__variables | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/sysutils/sge62/Makefile b/sysutils/sge62/Makefile index 24dae6100d21..185904bef690 100644 --- a/sysutils/sge62/Makefile +++ b/sysutils/sge62/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/sge62/files/aimk.private b/sysutils/sge62/files/aimk.private index 7257c0d00c4c..f883b4c4dbbc 100644 --- a/sysutils/sge62/files/aimk.private +++ b/sysutils/sge62/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/sge62/files/patch-aimk b/sysutils/sge62/files/patch-aimk index 3a2704432295..c16574e2e682 100644 --- a/sysutils/sge62/files/patch-aimk +++ b/sysutils/sge62/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/sge62/files/patch-dist_util_arch__variables b/sysutils/sge62/files/patch-dist_util_arch__variables index 7a75f9d6d92d..f990992e69ea 100644 --- a/sysutils/sge62/files/patch-dist_util_arch__variables +++ b/sysutils/sge62/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 |