summaryrefslogtreecommitdiff
path: root/net/ickle
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-11-23 03:34:39 +0000
committerPatrick Li <pat@FreeBSD.org>2001-11-23 03:34:39 +0000
commitcf020d61358d4377d8ddcda5b37f555643526cad (patch)
treed5d1d909305b3f54ea5983f5554437b33e6585b8 /net/ickle
parentadd 54321 (diff)
Fix breakage and avoid installing useless .la file
Reviewed by: maintainer
Notes
Notes: svn path=/head/; revision=50391
Diffstat (limited to 'net/ickle')
-rw-r--r--net/ickle/Makefile7
-rw-r--r--net/ickle/files/patch-ltmain.sh25
-rw-r--r--net/ickle/pkg-plist1
3 files changed, 29 insertions, 4 deletions
diff --git a/net/ickle/Makefile b/net/ickle/Makefile
index a719048d8a3a..f4a878b969f4 100644
--- a/net/ickle/Makefile
+++ b/net/ickle/Makefile
@@ -22,11 +22,12 @@ PATCH_SITES+= http://kva.paranoia.ru/~troff/
PATCH_DIST_STRIP= -p1
.endif
-USE_LIBTOOL= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= ${MACHINE_ARCH}-unknown-freebsd${OSREL}
+INSTALLS_SHLIB= yes
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
CONFIGURE_ARGS= --with-sigc-prefix=${LOCALBASE} \
--with-gtkmm-prefix=${X11BASE}
-INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I/usr/src/contrib/libstdc++" \
+ LIBS="-L${LOCALBASE}/lib"
.include <bsd.port.mk>
diff --git a/net/ickle/files/patch-ltmain.sh b/net/ickle/files/patch-ltmain.sh
new file mode 100644
index 000000000000..e71718a9f08e
--- /dev/null
+++ b/net/ickle/files/patch-ltmain.sh
@@ -0,0 +1,25 @@
+--- ltmain.sh.orig Sat Sep 22 20:10:52 2001
++++ ltmain.sh Tue Nov 20 21:14:55 2001
+@@ -2444,6 +2444,9 @@
+ *-*-openbsd*)
+ # Do not include libc due to us having libc/libc_r.
+ ;;
++ *-*-freebsd*)
++ # FreeBSD doesn't need this...
++ ;;
+ *)
+ # Add libc to deplibs on all other systems if necessary.
+ if test $build_libtool_need_lc = "yes"; then
+@@ -4210,10 +4213,12 @@
+ fi
+
+ # Install the pseudo-library for information purposes.
++ if false; then
+ name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
+ instname="$dir/$name"i
+ $show "$install_prog $instname $destdir/$name"
+ $run eval "$install_prog $instname $destdir/$name" || exit $?
++ fi
+
+ # Maybe install the static library, too.
+ test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/net/ickle/pkg-plist b/net/ickle/pkg-plist
index 851b6845d452..1839fc70de7a 100644
--- a/net/ickle/pkg-plist
+++ b/net/ickle/pkg-plist
@@ -12,7 +12,6 @@ include/ickle/events.h
include/ickle/exceptions.h
include/ickle/socket.h
lib/libicq2000.a
-lib/libicq2000.la
lib/libicq2000.so
lib/libicq2000.so.1
@dirrm include/ickle