diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-30 10:25:34 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-30 10:25:34 +0000 |
commit | 2df76eb0a73bb59d817aa60758a5f10e3e544c3b (patch) | |
tree | 07e10c49034b87755dafb03956ad93c5363e0bb7 /devel/libslang | |
parent | 1c97f613254a72e0ae97ea8d817ebe38096d6949 (diff) |
Notes
Diffstat (limited to 'devel/libslang')
-rw-r--r-- | devel/libslang/files/patch-configure | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/devel/libslang/files/patch-configure b/devel/libslang/files/patch-configure index 854673fd5a0a..eec2e732377e 100644 --- a/devel/libslang/files/patch-configure +++ b/devel/libslang/files/patch-configure @@ -1,6 +1,6 @@ --- configure.orig Sun Jan 26 07:31:27 2003 +++ configure Fri Feb 21 17:21:25 2003 -@@ -2034,6 +2034,18 @@ +@@ -2034,6 +2034,14 @@ ELFLIB_MAJOR="lib\$(THIS_LIB).\$(ELF_MAJOR_VERSION).dylib" ELFLIB_MAJOR_MINOR="lib\$(THIS_LIB).\$(ELF_MAJOR_VERSION).\$(ELF_MINOR_VERSION).dylib" ;; @@ -8,11 +8,7 @@ + ELFLIB_MAJOR_MINOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION)" + ELF_CC="\$(CC)" + ELF_CFLAGS="\$(CFLAGS) -fPIC" -+ if [ $PORTOBJFORMAT = elf ]; then -+ ELF_LINK="\$(CC) -shared -Wl,-soname,\$(ELFLIB_MAJOR)" -+ else -+ ELF_LINK="ld -Bshareable -x" -+ fi ++ ELF_LINK="\$(CC) -shared -Wl,-soname,\$(ELFLIB_MAJOR)" + ELF_LINK_CMD="\$(ELF_LINK)" + ELF_DEP_LIBS="\$(DL_LIB) -lm" + ;; |