forked from Lainports/freebsd-ports
Since I'm there, define the license. PR: ports/168375 Submitted by: Muhammad Moinur Rahman <5u623l20 (at) gmail.com>
37 lines
843 B
Text
37 lines
843 B
Text
--- configure.orig 2012-05-26 19:06:25.069208812 +0600
|
|
+++ configure 2012-05-26 19:08:46.373209460 +0600
|
|
@@ -117,23 +117,6 @@
|
|
##
|
|
## Are we on a 64 bits arch
|
|
##
|
|
-${ECHO} -n "Checking for 64 bits architecture..."
|
|
-cat > is64.c <<EOF
|
|
-int main() {
|
|
- unsigned long n = 0;
|
|
- n = ~n;
|
|
- return n == 0xFFFFFFFF;
|
|
-}
|
|
-EOF
|
|
-gcc -o is64 is64.c
|
|
-if ./is64; then
|
|
-CXX64FLAGS="-fPIC"
|
|
-echo yes
|
|
-else
|
|
-CXX64FLAGS=""
|
|
-echo no
|
|
-fi
|
|
-rm -f is64 is64.c
|
|
|
|
cat > Makefile <<EOF
|
|
|
|
@@ -220,10 +203,6 @@
|
|
chmod 755 \$(PREFIX)/include/board
|
|
chmod 644 \$(PREFIX)/include/Board.h
|
|
chmod 644 \$(PREFIX)/include/board/*.h
|
|
- install -d \$(PREFIX)/share/libboard/examples
|
|
- \$(CP) examples/*.cpp \$(PREFIX)/share/libboard/examples
|
|
- \$(CP) examples/README \$(PREFIX)/share/libboard/examples
|
|
- \$(CP) ${LICENSE} \$(PREFIX)/share/libboard/
|
|
|
|
doc: doc/html/index.html
|
|
|