Update to 0.4:

- http://www.bytelabs.org/devel.html#changelog

From Igor Boehm <igor@bytelabs.org> (MAINTAINER)
This commit is contained in:
alek 2005-03-26 22:53:15 +00:00
parent 2dc103ca30
commit 4897a36f43
3 changed files with 30 additions and 16 deletions

View File

@ -1,9 +1,8 @@
# $OpenBSD: Makefile,v 1.2 2004/12/19 17:36:32 alek Exp $
# $OpenBSD: Makefile,v 1.3 2005/03/26 22:53:15 alek Exp $
COMMENT= "graphical ports system frontend"
V= 0.3
DISTNAME= pb-browser-${V}
DISTNAME= pb-browser-0.4
CATEGORIES= x11 sysutils
MAINTAINER= Igor Boehm <igor@bytelabs.org>

View File

@ -1,4 +1,4 @@
MD5 (pb-browser-0.3.tgz) = 5ea939c43b382e4a3e05ed6a5b7de48e
RMD160 (pb-browser-0.3.tgz) = f4ead5a96526d5ac581f2362dfa0cf0ac2394228
SHA1 (pb-browser-0.3.tgz) = a5592030bbf4d9bd10019aae2995d278d474f6cc
SIZE (pb-browser-0.3.tgz) = 44706
MD5 (pb-browser-0.4.tgz) = 90c50e5785d43c092285e8b77d2b01a9
RMD160 (pb-browser-0.4.tgz) = 4a93bae8c107bc92af2aaa46894af704c438306e
SHA1 (pb-browser-0.4.tgz) = debbc8f60dff56151f7a9c4d78fb2e9649adb122
SIZE (pb-browser-0.4.tgz) = 49213

View File

@ -1,18 +1,33 @@
$OpenBSD: patch-src_Makefile,v 1.1.1.1 2004/11/08 16:10:14 espie Exp $
--- src/Makefile.orig Mon Nov 8 08:58:11 2004
+++ src/Makefile Mon Nov 8 08:58:25 2004
@@ -10,13 +10,12 @@ SRCS+= main.c
$OpenBSD: patch-src_Makefile,v 1.2 2005/03/26 22:53:15 alek Exp $
--- src/Makefile.orig Sun Mar 13 23:20:20 2005
+++ src/Makefile Sun Mar 13 23:21:17 2005
@@ -2,14 +2,6 @@
CFLAGS+= -DPBVERSION=\"\"
CFLAGS+= -D__ARCH__=\"${MACHINE_ARCH}\" -D__OSREV__=\"$(OSREV)\"
.PATH: ${.CURDIR}/..
-UNAME?= /usr/bin/uname
-SED?= /usr/bin/sed
-
-#we need this for FreeBSD
-.if !defined(OSREL)
-OSREV!= ${UNAME} -r | ${SED} -e 's/[-(].*//'
-.endif
-
PROG= pbrowser
SRCS= gram.y pkgobject.c pkgquery.c pbutil.c fail.c \
pkgcmd.c scan.l sort.c search.c y.tab.h
@@ -20,13 +12,12 @@ SRCS+= main.c
CFLAGS+= -D__OSREL__=\"$(OSREV)-release\"
CFLAGS+= -DPBVERSION=\"-\ 0.4\"
CFLAGS+= -D__ARCH__=\"${MACHINE_ARCH}\" -D__OSREV__=\"$(OSREV)\"
-CFLAGS+= -DIMAGEDIR=\"${.CURDIR}/../pixmaps/\"
CFLAGS+= -I${.CURDIR} `pkg-config --cflags glib-2.0 gtk+-2.0 gdk-2.0`
CFLAGS+= -Wall -W -Wmissing-prototypes -Wbad-function-cast
CFLAGS+= -Wmissing-declarations -Wpointer-arith
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
#CFLAGS+= -DDEBUG=0
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare
# CFLAGS+= -DDEBUG=0 -ggdb
-LDADD= `pkg-config --libs glib-2.0 gthread-2.0 gtk+-2.0 gdk-2.0` -lutil
+LDADD= `pkg-config --libs glib-2.0 gthread-2.0 gtk+-2.0 gdk-2.0` -lutil -lpthread
YFLAGS+= -d
MAN= pbrowser.1
CLEANFILES+= gram.c scan.c y.tab.h pbrowser.cat1
CLEANFILES+= gram.c scan.c y.tab.h pbrowser.cat1 pbrowser.1.gz