diff options
author | sada <sada@FreeBSD.org> | 1999-10-12 20:59:07 +0000 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 1999-10-12 20:59:07 +0000 |
commit | c2bc5a0a3a642a7ff411d5573df5209488faa303 (patch) | |
tree | 76df0021a43707c60537849b15032c892b54d8b8 /www | |
parent | 86c06582e76427f10ae4b7f2442438c211033ef7 (diff) | |
download | FreeBSD-ports-c2bc5a0a3a642a7ff411d5573df5209488faa303.zip FreeBSD-ports-c2bc5a0a3a642a7ff411d5573df5209488faa303.tar.gz |
Give attention to user if the system has no c++rt0.o .
Approved by: Maintainer
Diffstat (limited to 'www')
-rw-r--r-- | www/flashplugin/Makefile | 6 | ||||
-rw-r--r-- | www/flashplugin/files/message.nolib | 9 |
2 files changed, 15 insertions, 0 deletions
diff --git a/www/flashplugin/Makefile b/www/flashplugin/Makefile index ee80364..a455e10 100644 --- a/www/flashplugin/Makefile +++ b/www/flashplugin/Makefile @@ -23,6 +23,12 @@ MAKE_ENV= OBJFORMAT=aout LIBRARY_PATH=${PREFIX}/lib/aout PORTOBJFORMAT= aout ALL_TARGET= libswf.so +pre-build: +.if !exists(/usr/lib/aout/c++rt0.o) + @${CAT} ${FILESDIR}/message.nolib + @${FALSE} +.endif + do-install: .if !defined(PACKAGE_BUILDING) @PKG_PREFIX=${PREFIX} ${SH} ${PKGREQ} ${PKGNAME} INSTALL diff --git a/www/flashplugin/files/message.nolib b/www/flashplugin/files/message.nolib new file mode 100644 index 0000000..c1d81c9 --- /dev/null +++ b/www/flashplugin/files/message.nolib @@ -0,0 +1,9 @@ +=== +You couldn't build this port for lack of aout csu library files. +You could prepare them as: + +1. extract /usr/src/lib (distribution files: src/slib.??) +2. cd /usr/src/lib/csu/i386 +3. make clean depend +4. make all install +=== |