ports/science/simlib/files/patch-src__Makefile.generic
Rong-En Fan 09ffa2e370 - Update to 3.0.20071212
- Pass maintainership to submitter
- Enable 64-bit support (experimental per stated by the project web page)

PR:		ports/122337
Submitted by:	Wen heping <wenheping at gmail.com>
2008-04-06 06:35:14 +00:00

16 lines
754 B
Plaintext

--- src/Makefile.generic.orig 2008-04-06 14:25:38.000000000 +0800
+++ src/Makefile.generic 2008-04-06 14:26:50.000000000 +0800
@@ -225,9 +225,9 @@
#TODO: add version and symlink
install: all
install -d $(PREFIX)/include $(PREFIX)/lib
- install -m0644 $(SIMLIB_HEADERS) $(PREFIX)/include
- install -m0644 $(LIBNAME).a $(PREFIX)/lib/lib$(LIBNAME).a
- install -m0644 $(LIBNAME).so $(PREFIX)/lib/lib$(LIBNAME).so
+ $(BSD_INSTALL_DATA) $(SIMLIB_HEADERS) $(PREFIX)/include
+ $(BSD_INSTALL_PROGRAM) $(LIBNAME).a $(PREFIX)/lib/lib$(LIBNAME).a
+ $(BSD_INSTALL_PROGRAM) $(LIBNAME).so $(PREFIX)/lib/lib$(LIBNAME).so
@if ! grep '^'$(PREFIX)/lib'$$' /etc/ld.so.conf >/dev/null; then \
echo "Add $(PREFIX)/lib to /etc/ld.so.conf "; \
fi