aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libsx
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/libsx
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/libsx')
-rw-r--r--x11/libsx/Makefile4
-rw-r--r--x11/libsx/files/patch-aa6
2 files changed, 5 insertions, 5 deletions
diff --git a/x11/libsx/Makefile b/x11/libsx/Makefile
index dbe0ac3e30a6..5d155a961406 100644
--- a/x11/libsx/Makefile
+++ b/x11/libsx/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libsx
PORTVERSION= 1.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_XCONTRIB}
MASTER_SITE_SUBDIR= libraries
@@ -19,7 +19,7 @@ COMMENT= Simple X11 library
LIB_DEPENDS= Xaw3d:${PORTSDIR}/x11-toolkits/Xaw3d
-USE_XORG= x11
+USE_XORG= x11 xext xmu xt
ALL_TARGET= src freq
do-install:
diff --git a/x11/libsx/files/patch-aa b/x11/libsx/files/patch-aa
index 0183076a064c..f412ab17ba0c 100644
--- a/x11/libsx/files/patch-aa
+++ b/x11/libsx/files/patch-aa
@@ -14,7 +14,7 @@
# CFLAGS = -g -D_POSIX_SOURCE -DOPENGL_SUPPORT
#
-CFLAGS = -g -D_POSIX_SOURCE
-+CFLAGS += -O -D_POSIX_SOURCE -I$(X11BASE)/include
++CFLAGS += -O -D_POSIX_SOURCE -I$(LOCALBASE)/include
#
# if you are on a System V (like the SGI) machine, just define RANLIB
@@ -34,5 +34,5 @@
#LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11
-LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11
-
-+LIBS = $(LIBSX) -lXaw3d -lXmu -lXt -lX11 -lm -lXext -L$(X11BASE)/lib
-+LIBS+= -Wl,-rpath,${X11BASE}/lib
++LIBS = $(LIBSX) -lXaw3d -lXmu -lXt -lX11 -lm -lXext -L$(LOCALBASE)/lib
++LIBS+= -Wl,-rpath,${LOCALBASE}/lib