summaryrefslogtreecommitdiff
path: root/x11/libSM
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2004-05-07 20:56:32 +0000
committerEric Anholt <anholt@FreeBSD.org>2004-05-07 20:56:32 +0000
commit8d12aa39a075efb9833a87153b36e21f5fb79398 (patch)
tree9ae5130318920cb7824c4de468782320fda001b7 /x11/libSM
parentUse gnomehack to replace patch, and register xtrans as a RUN_DEPENDS as well. (diff)
Use gnomehack to replace patch.
Remove xtrans dependency now that libICE depends on it properly. Remove dependency on libX11, which appears spurious.
Notes
Notes: svn path=/head/; revision=108643
Diffstat (limited to 'x11/libSM')
-rw-r--r--x11/libSM/Makefile13
-rw-r--r--x11/libSM/files/patch-Makefile.in11
2 files changed, 8 insertions, 16 deletions
diff --git a/x11/libSM/Makefile b/x11/libSM/Makefile
index 59fefda3332f..2c06c0c7ae61 100644
--- a/x11/libSM/Makefile
+++ b/x11/libSM/Makefile
@@ -7,16 +7,15 @@
PORTNAME= libSM
PORTVERSION= 6.0.2
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://pdx.freedesktop.org/~xlibs/release/
MAINTAINER= x11@FreeBSD.org
COMMENT= Session Management library for X11
-LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/ice.pc:${PORTSDIR}/x11/libICE \
- ${X11BASE}/libdata/pkgconfig/xtrans.pc:${PORTSDIR}/x11/libXtrans
-BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig \
- ${X11BASE}/libdata/pkgconfig/xproto.pc:${PORTSDIR}/x11/xproto \
+LIB_PC_DEPENDS= ${X11BASE}/libdata/pkgconfig/ice.pc:${PORTSDIR}/x11/libICE
+BUILD_DEPENDS= ${X11BASE}/libdata/pkgconfig/xproto.pc:${PORTSDIR}/x11/xproto \
${LIB_PC_DEPENDS}
RUN_DEPENDS= ${LIB_PC_DEPENDS}
@@ -29,7 +28,11 @@ GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
USE_LIBTOOL_VER=13
-
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
+USE_GNOME= gnomehack pkgconfig
+
+post-patch:
+ ${REINPLACE_CMD} 's|xproto x11|xproto|g' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/x11/libSM/files/patch-Makefile.in b/x11/libSM/files/patch-Makefile.in
deleted file mode 100644
index 64e16837de9c..000000000000
--- a/x11/libSM/files/patch-Makefile.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- Makefile.in.orig Sun Nov 9 21:24:28 2003
-+++ Makefile.in Sun Nov 9 23:31:18 2003
-@@ -162,7 +162,7 @@
- include/X11/SM/SMproto.h
-
-
--pkgconfigdir = $(libdir)/pkgconfig
-+pkgconfigdir = $(prefix)/libdata/pkgconfig
- pkgconfig_DATA = sm.pc
-
- EXTRA_DIST = sm.pc.in