Files
ports/lang/cli/files/patch-pal::unix::configure
Maxim Sobolev 722f70571f Teach the creature how properly create shared libs on FreeBSD, so that
binaries linked to librotor_palrt.so no longer hardcode patch to a
specific location of librotor_palrt.so. Bump PORTREVISION.

Reported by:	many
2002-04-09 21:38:14 +00:00

28 lines
617 B
Plaintext

$FreeBSD$
--- pal/unix/configure.orig Thu Mar 14 20:21:45 2002
+++ pal/unix/configure Tue Apr 9 19:29:27 2002
@@ -1010,17 +1010,17 @@
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
-CFLAGS="-Wall -fPIC -fno-builtin -fno-exceptions"
+CFLAGS="$CFLAGS -Wall -fpic -DPIC -fno-builtin -fno-exceptions -fno-rtti"
if test "$NTDEBUG" != "ntsdnodbg"; then
- CFLAGS="$CFLAGS -g"
+# CFLAGS="$CFLAGS -g"
fi
if test "$BUILD_ALT_DIR" = "df"; then
- CFLAGS="$CFLAGS -O2"
+# CFLAGS="$CFLAGS -O2"
fi
if test "$BUILD_ALT_DIR" = "r"; then
- CFLAGS="$CFLAGS -O2"
+# CFLAGS="$CFLAGS -O2"
fi