aboutsummaryrefslogtreecommitdiff
path: root/x11/libsx
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 /x11/libsx
parent40049f4af2200d0dcf33596508688623fc75f764 (diff)
downloadports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.tar.gz
ports-3e4ed01146cfe2bdca465bd0e4d199341f62a0b6.zip
Notes
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