summaryrefslogtreecommitdiffstats
path: root/x11/libSM
diff options
context:
space:
mode:
authoranholt <anholt@FreeBSD.org>2004-05-07 20:56:32 +0000
committeranholt <anholt@FreeBSD.org>2004-05-07 20:56:32 +0000
commit151a2a3544b44907eb9e3a4a450afd03e5e0e843 (patch)
treeec9b474eae1a8fcd45429e18342802fa5d126475 /x11/libSM
parent76c7af64b4f4bbd144f6d3ea0fc842c32ac4a274 (diff)
downloadFreeBSD-ports-151a2a3544b44907eb9e3a4a450afd03e5e0e843.zip
FreeBSD-ports-151a2a3544b44907eb9e3a4a450afd03e5e0e843.tar.gz
Use gnomehack to replace patch.
Remove xtrans dependency now that libICE depends on it properly. Remove dependency on libX11, which appears spurious.
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 59fefda..2c06c0c 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 64e1683..0000000
--- 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
OpenPOWER on IntegriCloud