aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2002-01-17 22:29:30 +0800
committerkevlo <kevlo@FreeBSD.org>2002-01-17 22:29:30 +0800
commit182580e470563033550c6de42d264b15b220eb12 (patch)
tree180f6416d983c563de72eb77774995d0f8863a04 /devel
parentf63578465d84a300e2ec4af76c832f7b3f8f685a (diff)
downloadfreebsd-ports-graphics-182580e470563033550c6de42d264b15b220eb12.tar.gz
freebsd-ports-graphics-182580e470563033550c6de42d264b15b220eb12.tar.zst
freebsd-ports-graphics-182580e470563033550c6de42d264b15b220eb12.zip
Update to 0.91
PR: 33789 Submitted by: Ports Fury
Diffstat (limited to 'devel')
-rw-r--r--devel/libafterbase/Makefile9
-rw-r--r--devel/libafterbase/distinfo2
-rw-r--r--devel/libafterbase/files/patch-Makefile.in54
-rw-r--r--devel/libafterbase/pkg-plist4
4 files changed, 63 insertions, 6 deletions
diff --git a/devel/libafterbase/Makefile b/devel/libafterbase/Makefile
index 87ea151a930..f11f56bd10f 100644
--- a/devel/libafterbase/Makefile
+++ b/devel/libafterbase/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libafterbase
-PORTVERSION= 0.81
+PORTVERSION= 0.91
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= afterstep
@@ -17,11 +17,12 @@ MAINTAINER= ports@FreeBSD.org
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sharedlibs --with-x
-WRKSRC= ${WRKDIR}/libAfterBase
INSTALLS_SHLIB= yes
-post-install:
- @${MV} -f ${PREFIX}/lib/libAfterBase.so.0.81 ${PREFIX}/lib/libAfterBase.so.0
+post-patch:
+ @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
+ 's|<malloc.h>|<stdlib.h>|g'
.include <bsd.port.mk>
diff --git a/devel/libafterbase/distinfo b/devel/libafterbase/distinfo
index aea18e17c22..347c21da8ef 100644
--- a/devel/libafterbase/distinfo
+++ b/devel/libafterbase/distinfo
@@ -1 +1 @@
-MD5 (libAfterBase-0.81.tar.gz) = a79b1769b977df94d77daa96262f7452
+MD5 (libAfterBase-0.91.tar.gz) = 41bc515460b0e1e50c817159ba7d638f
diff --git a/devel/libafterbase/files/patch-Makefile.in b/devel/libafterbase/files/patch-Makefile.in
new file mode 100644
index 00000000000..3d9336168c3
--- /dev/null
+++ b/devel/libafterbase/files/patch-Makefile.in
@@ -0,0 +1,54 @@
+--- Makefile.in.orig Wed Dec 19 06:54:34 2001
++++ Makefile.in Sat Jan 12 02:43:00 2002
+@@ -54,7 +54,7 @@
+ MV = @MV@
+ RM = @RM@
+ RMF = @RM@ -f
+-MKDIR = @MKDIR@
++MKDIR = @MKDIR@ -p
+ FIND = @FIND@
+ XARGS = @XARGS@
+ LDCONFIG = @LDCONFIG@
+@@ -65,11 +65,11 @@
+ LEXFLAGS =
+
+ INSTALL = @INSTALL@
+-INSTALL_PROGRAM = @INSTALL@ -s -m 755
+-INSTALL_DATA = @INSTALL@ -m 644
+-INSTALL_HEADER = @INSTALL@ -m 644
+-INSTALL_LIB = @INSTALL@ -m 755
+-INSTALL_SCRIPT = @INSTALL@ -m 755
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
++INSTALL_HEADER = @INSTALL_DATA@
++INSTALL_LIB = @INSTALL_DATA@
++INSTALL_SCRIPT = @INSTALL_SCRIPT@
+
+ INCS_X = @X_CFLAGS@
+ INCLUDES = $(INCS_X) $(INCS_PRIVATE)
+@@ -113,9 +113,8 @@
+ install.script:
+
+ install.dyn:
+- $(INSTALL_LIB) $(LIB_SHARED).$(LIBVER) $(LIBDIR)
+- -@/bin/rm -f $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED)
+- ln -sf $(LIB_SHARED).$(LIBVER) $(LIBDIR)/$(LIB_SHARED).$(LIBVERMAJOR)
++ $(INSTALL_LIB) $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)
++ -@/bin/rm -f $(LIBDIR)/$(LIB_SHARED)
+ ln -sf $(LIB_SHARED).$(LIBVERMAJOR) $(LIBDIR)/$(LIB_SHARED)
+ @( \
+ if test `uname` = "Linux"; then \
+@@ -249,11 +248,8 @@
+ $(LIB_SHARED): $(LIB_SHARED).$(LIBVERMAJOR)
+ ln -sf $(LIB_SHARED).$(LIBVERMAJOR) $(LIB_SHARED)
+
+-$(LIB_SHARED).$(LIBVERMAJOR): $(LIB_SHARED).$(LIBVER)
+- ln -sf $(LIB_SHARED).$(LIBVER) $(LIB_SHARED).$(LIBVERMAJOR)
+-
+-$(LIB_SHARED).$(LIBVER): $(LIB_OBJS) $(LIB_INCS)
+- $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVER) \
++$(LIB_SHARED).$(LIBVERMAJOR): $(LIB_OBJS) $(LIB_INCS)
++ $(CC) -shared -Wl,-soname,$(LIB_SHARED).$(LIBVERMAJOR) -o $(LIB_SHARED).$(LIBVERMAJOR) \
+ $(LIB_OBJS)
+
+ install: install.lib
diff --git a/devel/libafterbase/pkg-plist b/devel/libafterbase/pkg-plist
index 8603d4e3a10..1d127f782ef 100644
--- a/devel/libafterbase/pkg-plist
+++ b/devel/libafterbase/pkg-plist
@@ -1,8 +1,10 @@
+include/libAfterBase/aslist.h
include/libAfterBase/ashash.h
include/libAfterBase/astypes.h
include/libAfterBase/asvector.h
include/libAfterBase/audit.h
include/libAfterBase/fs.h
+include/libAfterBase/layout.h
include/libAfterBase/mystring.h
include/libAfterBase/os.h
include/libAfterBase/output.h
@@ -16,7 +18,7 @@ include/libAfterBase/timer.h
include/libAfterBase/trace.h
include/libAfterBase/xprop.h
include/libAfterBase/xwrap.h
-@dirrm include/libAfterBase
lib/libAfterBase.a
lib/libAfterBase.so
lib/libAfterBase.so.0
+@dirrm include/libAfterBase