diff options
author | gerald <gerald@FreeBSD.org> | 2006-04-16 20:09:35 +0000 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2006-04-16 20:09:35 +0000 |
commit | f9ffc6d2ec5d92bea6292d264d1a68f0baee63be (patch) | |
tree | a1b002d2aad8a0e640d859ae2062c8644df295e4 /emulators/wine | |
parent | 1dad24c848ace8c2c52f701a9ddd54c546d5f3ea (diff) | |
download | FreeBSD-ports-f9ffc6d2ec5d92bea6292d264d1a68f0baee63be.zip FreeBSD-ports-f9ffc6d2ec5d92bea6292d264d1a68f0baee63be.tar.gz |
Leverage the new USE_LDCONFIG mechanism instead of our original, more
home-grown approach.
PR: 95757
Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua>
Reviewed by: flz
Diffstat (limited to 'emulators/wine')
-rw-r--r-- | emulators/wine/Makefile | 8 | ||||
-rw-r--r-- | emulators/wine/files/wine.sh.in | 15 | ||||
-rw-r--r-- | emulators/wine/pkg-plist | 1 |
3 files changed, 4 insertions, 20 deletions
diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile index aeb4404..bfa2a78 100644 --- a/emulators/wine/Makefile +++ b/emulators/wine/Makefile @@ -25,6 +25,7 @@ GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib LIBS=-Wl,-rpath,${PREFIX}/lib/wine INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib/wine +USE_LDCONFIG= ${PREFIX}/lib/wine MAN1= widl.1 wine.1 winebuild.1 winedbg.1 winedump.1 winegcc.1 \ winemaker.1 wineserver.1 wmc.1 wrc.1 ONLY_FOR_ARCHS= i386 @@ -34,10 +35,11 @@ USE_GMAKE= yes USE_GL= yes USE_XPM= yes -SUB_FILES= pkg-message wine.sh +SUB_FILES= pkg-message PKGMESSAGE= ${WRKDIR}/pkg-message .include <bsd.port.pre.mk> +.include "${PORTSDIR}/misc/ldconfig_compat/bsd.ldconfig.mk" .if ${OSVERSION} < 503000 IGNORE= fails to work on versions of FreeBSD before 5.3 (due to problems with threading support) @@ -46,8 +48,7 @@ IGNORE= fails to work on versions of FreeBSD before 5.3 (due to problems with t pre-build: cd ${WRKSRC} && make depend -post-install: - -@${MKDIR} ${PREFIX}/etc/rc.d +post-install: install-ldconfig-file ${RM} ${PREFIX}/man/man1/wineg++.1 .if !defined(NOPORTDOCS) -@${MKDIR} ${DOCSDIR} @@ -60,7 +61,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/tools/winedump/README ${DOCSDIR}/README.winedump .endif @${INSTALL_SCRIPT} ${WRKSRC}/tools/bug_report.pl ${PREFIX}/lib/wine - @${INSTALL_SCRIPT} ${WRKDIR}/wine.sh ${PREFIX}/etc/rc.d/000.wine.sh @${ECHO} @${CAT} ${PKGMESSAGE} diff --git a/emulators/wine/files/wine.sh.in b/emulators/wine/files/wine.sh.in deleted file mode 100644 index fe67ceb..0000000 --- a/emulators/wine/files/wine.sh.in +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -case "$1" in - start) - /sbin/ldconfig -m %%PREFIX%%/lib/wine - ;; - stop) - ;; - *) - echo "" - echo "Usage: `basename $0` { start | stop }" - echo "" - exit 64 - ;; -esac diff --git a/emulators/wine/pkg-plist b/emulators/wine/pkg-plist index 2456526..0b8cb3b 100644 --- a/emulators/wine/pkg-plist +++ b/emulators/wine/pkg-plist @@ -30,7 +30,6 @@ bin/wineshelllink bin/winhelp bin/wmc bin/wrc -etc/rc.d/000.wine.sh include/wine/debug.h include/wine/exception.h include/wine/itss.h |