summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2007-07-04 13:07:42 +0000
committerRenato Botelho <garga@FreeBSD.org>2007-07-04 13:07:42 +0000
commit7248eebe090c861cee0d1f5d361cfa2e7a736b5a (patch)
treecbac8117a0b3f9524d00596be60a6f682857662e /devel
parentForced commit, previous was for another port: (diff)
- Fix libs installation
- Bump PORTREVISION PR: ports/114277 Submitted by: Conrad J. Sabatier <conrads@cox.net>
Notes
Notes: svn path=/head/; revision=194902
Diffstat (limited to 'devel')
-rw-r--r--devel/libslang2/Makefile1
-rw-r--r--devel/libslang2/files/patch-configure18
-rw-r--r--devel/libslang2/pkg-plist1
3 files changed, 20 insertions, 0 deletions
diff --git a/devel/libslang2/Makefile b/devel/libslang2/Makefile
index 367387788e68..359c648e290d 100644
--- a/devel/libslang2/Makefile
+++ b/devel/libslang2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libslang2
PORTVERSION= 2.0.7
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ftp://space.mit.edu/pub/davis/slang/v2.0/ \
ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v2.0/ \
diff --git a/devel/libslang2/files/patch-configure b/devel/libslang2/files/patch-configure
new file mode 100644
index 000000000000..a86940e51e69
--- /dev/null
+++ b/devel/libslang2/files/patch-configure
@@ -0,0 +1,18 @@
+--- configure.orig Wed Jul 4 08:44:29 2007
++++ configure Wed Jul 4 08:45:13 2007
+@@ -7028,14 +7028,9 @@
+ ELFLIB_MAJOR_MINOR="lib\$(THIS_LIB).\$(ELF_MAJOR_VERSION).\$(ELF_MINOR_VERSION).dylib"
+ ;;
+ *freebsd* )
+- ELFLIB_MAJOR_MINOR="\$(ELFLIB).\$(ELF_MAJOR_VERSION)"
+ ELF_CC="\$(CC)"
+ ELF_CFLAGS="\$(CFLAGS) -fPIC"
+- if test "X$PORTOBJFORMAT" = "Xelf" ; then
+- ELF_LINK="\$(CC) \$(LDFLAGS) -shared -Wl,-soname,\$(ELFLIB_MAJOR)"
+- else
+- ELF_LINK="ld -Bshareable -x"
+- fi
++ ELF_LINK="\$(CC) \$(LDFLAGS) -shared -Wl,-soname,\$(ELFLIB_MAJOR)"
+ ELF_DEP_LIBS="\$(DL_LIB) -lm"
+ CC_SHARED="\$(CC) \$(CFLAGS) -shared -fPIC"
+ ;;
diff --git a/devel/libslang2/pkg-plist b/devel/libslang2/pkg-plist
index 791de2b2fa4d..021753ecbc60 100644
--- a/devel/libslang2/pkg-plist
+++ b/devel/libslang2/pkg-plist
@@ -4,6 +4,7 @@ etc/slsh.rc
include/slang.h
include/slcurses.h
lib/libslang.a
+lib/libslang.so.2.0.7
lib/libslang.so.2
lib/libslang.so
lib/slang/v2/modules/fcntl-module.so