aboutsummaryrefslogtreecommitdiffstats
path: root/x11-wm/windowmaker
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1998-09-28 04:59:17 +0800
committersteve <steve@FreeBSD.org>1998-09-28 04:59:17 +0800
commit14302585a4002f58947458fef68dbcdfb3c8a4e6 (patch)
tree61cf8ef6038e9560b413c2d7716a06d68841ecea /x11-wm/windowmaker
parentd8af377c9f51f62c1626c4cb6951163bf4e405ff (diff)
downloadfreebsd-ports-gnome-14302585a4002f58947458fef68dbcdfb3c8a4e6.tar.gz
freebsd-ports-gnome-14302585a4002f58947458fef68dbcdfb3c8a4e6.tar.zst
freebsd-ports-gnome-14302585a4002f58947458fef68dbcdfb3c8a4e6.zip
Convert to ELF.
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r--x11-wm/windowmaker/Makefile14
-rw-r--r--x11-wm/windowmaker/pkg-plist5
2 files changed, 14 insertions, 5 deletions
diff --git a/x11-wm/windowmaker/Makefile b/x11-wm/windowmaker/Makefile
index cd95bb8cf869..53fc8155b64c 100644
--- a/x11-wm/windowmaker/Makefile
+++ b/x11-wm/windowmaker/Makefile
@@ -3,7 +3,7 @@
# Date created: August 13, 1997
# Whom: handy@physics.montana.edu
#
-# $Id: Makefile,v 1.31 1998/09/19 01:33:49 steve Exp $
+# $Id: Makefile,v 1.32 1998/09/24 15:13:35 tg Exp $
DISTNAME= WindowMaker-0.20.0
PKGNAME= windowmaker-0.20.0
@@ -43,9 +43,17 @@ pre-configure:
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
${CONFIGURE_ENV} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS}; \
- make)
+ ${MAKE} ${MAKE_ENV})
pre-install:
- @(cd ${WRKSRC}/libPropList; ${MAKE} install)
+ @(cd ${WRKSRC}/libPropList; ${MAKE} ${MAKE_ENV} install)
+
+post-install:
+ if [ "${PORTOBJFORMAT}" = "elf" ]; then \
+ ${LN} -sf libPropList.so.0 ${PREFIX}/lib/libPropList.so; \
+ else \
+ ${LN} -sf libPropList.so.0.8 ${PREFIX}/lib/libPropList.so; \
+ fi
+ ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
.include <bsd.port.mk>
diff --git a/x11-wm/windowmaker/pkg-plist b/x11-wm/windowmaker/pkg-plist
index f303b6968be9..9b45d38ce217 100644
--- a/x11-wm/windowmaker/pkg-plist
+++ b/x11-wm/windowmaker/pkg-plist
@@ -134,9 +134,10 @@ include/proplist.h
include/wraster.h
lib/libPropList.a
@exec ranlib %D/%F
+lib/libPropList.so
lib/libPropList.so.0.8
-@exec /sbin/ldconfig -m %D
-@unexec /sbin/ldconfig -m %D
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %D
lib/libWINGs.a
@exec ranlib %D/%F
lib/libWMaker.a