diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-04-10 05:38:14 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-04-10 05:38:14 +0800 |
commit | 4cc8f40fd6d3ff5d1cea3758d380754fe81bcd3b (patch) | |
tree | 36e379a4723e5cd868dae0e74896e13cdae121eb /lang | |
parent | 756ff1698778e535c36e1afdc255cc518ba1cd3d (diff) | |
download | freebsd-ports-graphics-4cc8f40fd6d3ff5d1cea3758d380754fe81bcd3b.tar.gz freebsd-ports-graphics-4cc8f40fd6d3ff5d1cea3758d380754fe81bcd3b.tar.zst freebsd-ports-graphics-4cc8f40fd6d3ff5d1cea3758d380754fe81bcd3b.zip |
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
Diffstat (limited to 'lang')
-rw-r--r-- | lang/cli/Makefile | 1 | ||||
-rw-r--r-- | lang/cli/files/patch-pal::unix::configure | 6 | ||||
-rw-r--r-- | lang/cli/files/patch-rotorenv::bin::makefile.def | 17 |
3 files changed, 17 insertions, 7 deletions
diff --git a/lang/cli/Makefile b/lang/cli/Makefile index 9e59d7d7c2f..fdc0878fc83 100644 --- a/lang/cli/Makefile +++ b/lang/cli/Makefile @@ -7,6 +7,7 @@ PORTNAME= cli PORTVERSION= 20020326 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://download.microsoft.com/download/.netframesdk/CLI/Beta1/WXP/EN-US/ \ http://download.microsoft.com/download/.netframesdk/Beta1/WXP/EN-US/ \ diff --git a/lang/cli/files/patch-pal::unix::configure b/lang/cli/files/patch-pal::unix::configure index 70022aa864e..6995b788073 100644 --- a/lang/cli/files/patch-pal::unix::configure +++ b/lang/cli/files/patch-pal::unix::configure @@ -1,14 +1,14 @@ $FreeBSD$ ---- pal/unix/configure 2002/03/28 22:31:47 1.1 -+++ pal/unix/configure 2002/03/28 22:32:46 +--- 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 -fno-builtin -fno-exceptions -fno-rtti" ++CFLAGS="$CFLAGS -Wall -fpic -DPIC -fno-builtin -fno-exceptions -fno-rtti" if test "$NTDEBUG" != "ntsdnodbg"; then - CFLAGS="$CFLAGS -g" diff --git a/lang/cli/files/patch-rotorenv::bin::makefile.def b/lang/cli/files/patch-rotorenv::bin::makefile.def index 5fe05d823f0..b5661c9f991 100644 --- a/lang/cli/files/patch-rotorenv::bin::makefile.def +++ b/lang/cli/files/patch-rotorenv::bin::makefile.def @@ -1,14 +1,23 @@ $FreeBSD$ ---- rotorenv/bin/makefile.def.orig Fri Mar 22 03:48:24 2002 -+++ rotorenv/bin/makefile.def Fri Mar 29 20:21:35 2002 -@@ -1428,7 +1428,7 @@ +--- rotorenv/bin/makefile.def.orig Tue Apr 9 21:37:31 2002 ++++ rotorenv/bin/makefile.def Tue Apr 9 21:45:20 2002 +@@ -340,6 +340,8 @@ + ! else + ! if "$(TARGETTYPE)" == "DYNLINK" + TARGETPRE=lib ++DEFAULT_MSC_OPT=$(DEFAULT_MSC_OPT) -fpic -DPIC ++LINKER_FLAGS=$(LINKER_FLAGS) -soname $(TARGETPRE)$(TARGETLIBNAME).$(TARGETEXT) + ! endif + ! endif + !endif +@@ -1428,7 +1430,7 @@ !ENDIF !ifdef PLATFORM_UNIX -DEFAULT_MSC_OPT=-O2 -+DEFAULT_MSC_OPT=$(CXXFLAGS) ++DEFAULT_MSC_OPT=$(DEFAULT_MSC_OPT) $(CXXFLAGS) !else DEFAULT_MSC_OPT = /Oxs !endif |