- Update to 0.5.19

PR:             61518
Submitted by:   Ports Fury
Approved by:    erwin (mentor) (implicitly)
This commit is contained in:
Clement Laforet 2004-01-18 14:39:16 +00:00
parent c5bc243b8b
commit c705fbb6c9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98472
6 changed files with 13 additions and 33 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= uulib
PORTVERSION= 0.5.18
PORTVERSION= 0.5.19
CATEGORIES= converters
MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
DISTNAME= uudeview-${PORTVERSION}
@ -25,9 +25,9 @@ ALL_TARGET= libuu.a libuu.so.${VERSION}
.include <bsd.port.pre.mk>
.if ${PORTOBJFORMAT} == "elf"
VERSION= 2
VERSION= 3
.else
VERSION= 2.0
VERSION= 3.0
.endif
DOCFILES= COPYING HISTORY doc/Makefile doc/README doc/binhex.fig \

View File

@ -1 +1 @@
MD5 (uudeview-0.5.18.tar.gz) = f852ab1a77e946dc7522df06b0c59e35
MD5 (uudeview-0.5.19.tar.gz) = c84bd5be414fdaf887ffd2c0979a2992

View File

@ -14,13 +14,13 @@
-$(RANLIB) $@
+SOBJS= $(UULIB_OBJ:.o=.so)
+libuu.so.2.0: $(SOBJS)
+libuu.so.3.0: $(SOBJS)
+ rm -f $(.TARGET)
+ ld -Bshareable -x -o libuu.so.2.0 `lorder $(SOBJS) | tsort -q`
+ ld -Bshareable -x -o libuu.so.3.0 `lorder $(SOBJS) | tsort -q`
+
+libuu.so.2: $(SOBJS)
+libuu.so.3: $(SOBJS)
+ rm -f $(.TARGET)
+ $(CC) -shared -Wl,-x,-soname,libuu.so.2 -o libuu.so.2 $(SOBJS)
+ $(CC) -shared -Wl,-x,-soname,libuu.so.3 -o libuu.so.3 $(SOBJS)
+
+.c.so:
+ $(CC) -fpic -DPIC -c -o $(.TARGET) $(CFLAGS) $(VDEF) $(.IMPSRC)

View File

@ -4,13 +4,13 @@
libuu.a: uulib/config.h
(cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' )
+libuu.so.2.0: uulib/config.h
+libuu.so.3.0: uulib/config.h
+ (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' \
+ libuu.so.2.0 )
+ libuu.so.3.0 )
+
+libuu.so.2: uulib/config.h
+libuu.so.3: uulib/config.h
+ (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' \
+ libuu.so.2 )
+ libuu.so.3 )
+
minews:
(cd inews; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' )

View File

@ -1,20 +0,0 @@
$FreeBSD$
--- configure.orig Wed Sep 4 21:49:57 2002
+++ configure Wed Sep 4 22:00:32 2002
@@ -1100,12 +1100,12 @@
echo $ac_n "checking compiler flags""... $ac_c" 1>&6
echo "configure:1102: checking compiler flags" >&5
if test "$optimize" = "yes" ; then
-CFLAGS=`echo $CFLAGS | sed 's/-g//g'`
+#CFLAGS=`echo $CFLAGS | sed 's/-g//g'`
case $CFLAGS in
*"-O"*)
;;
*)
- CFLAGS="$CFLAGS -O"
+ #CFLAGS="$CFLAGS -O"
;;
esac
else

View File

@ -1,6 +1,6 @@
lib/libuu.a
lib/libuu.so
lib/libuu.so.2
lib/libuu.so.3
include/uudeview.h
%%PORTDOCS%%%%DOCSDIR%%/Makefile
%%PORTDOCS%%%%DOCSDIR%%/README