diff options
author | SADA Kenji <sada@FreeBSD.org> | 1999-10-12 20:59:07 +0000 |
---|---|---|
committer | SADA Kenji <sada@FreeBSD.org> | 1999-10-12 20:59:07 +0000 |
commit | 124fb3b4dbd970bd81461017d53b12e90fe50b1e (patch) | |
tree | e77741fd55ab2c2bba93f4bdcadf7494809a6a9c /www/flashplugin | |
parent | Mark this BROKEN so I don't have to create a folder dedicated to people (diff) |
Give attention to user if the system has no c++rt0.o .
Approved by: Maintainer
Notes
Notes:
svn path=/head/; revision=22391
Diffstat (limited to 'www/flashplugin')
-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 ee8036410b62..a455e10ffbb4 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 000000000000..c1d81c95e326 --- /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 +=== |