aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/XawPlus
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /x11-toolkits/XawPlus
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-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 'x11-toolkits/XawPlus')
-rw-r--r--x11-toolkits/XawPlus/Makefile4
-rw-r--r--x11-toolkits/XawPlus/files/patch-test::Makefile2
2 files changed, 3 insertions, 3 deletions
diff --git a/x11-toolkits/XawPlus/Makefile b/x11-toolkits/XawPlus/Makefile
index cf0d983bf74b..806eb835f7b5 100644
--- a/x11-toolkits/XawPlus/Makefile
+++ b/x11-toolkits/XawPlus/Makefile
@@ -20,13 +20,13 @@ USE_XORG= x11 xaw
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKE_ARGS= CC="${CC}" FLAGS="${CFLAGS} -fPIC -DHAS_WCHAR_H" \
- INC_PATH="-I. -I${X11BASE}/include" LIB_PATH="-L${X11BASE}/lib"
+ INC_PATH="-I. -I${LOCALBASE}/include" LIB_PATH="-L${LOCALBASE}/lib"
ALL_TARGET= lib
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e 's:so\.3\..:so.3:' ${WRKSRC}/Makefile
- @${REINPLACE_CMD} -e 's:%%X11BASE%%:${X11BASE}:' ${WRKSRC}/test/Makefile
+ @${REINPLACE_CMD} -e 's:%%LOCALBASE%%:${LOCALBASE}:' ${WRKSRC}/test/Makefile
do-install:
@${MKDIR} ${PREFIX}/include/X11/XawPlus
diff --git a/x11-toolkits/XawPlus/files/patch-test::Makefile b/x11-toolkits/XawPlus/files/patch-test::Makefile
index e0450de740ab..2d8c3dd64ba0 100644
--- a/x11-toolkits/XawPlus/files/patch-test::Makefile
+++ b/x11-toolkits/XawPlus/files/patch-test::Makefile
@@ -14,7 +14,7 @@ $FreeBSD$
-LIB_PATH = -L/usr/X11/lib # Libraries for X
-INC_PATH = -I/usr/X11/include # Header for X
-+PREFIX=%%X11BASE%%
++PREFIX=%%XLOCALBASE%%
+
+LIB_PATH = -L$(PREFIX)/lib # Libraries for X
+INC_PATH = -I$(PREFIX)/include # Header for X