Skip to content

Commit

Permalink
Make this build.
Browse files Browse the repository at this point in the history
  * Replace /bin/bash
  * Don't override LDFLAGS to use pkgsrc linker flags
  * Bump pkg revision
  • Loading branch information
yyamano committed Nov 14, 2009
1 parent 283c228 commit 3ab50a8
Show file tree
Hide file tree
Showing 7 changed files with 115 additions and 4 deletions.
8 changes: 5 additions & 3 deletions multimedia/goggles/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# $NetBSD: Makefile,v 1.3 2009/08/26 19:58:05 sno Exp $
# $NetBSD: Makefile,v 1.4 2009/11/14 22:07:07 yyamano Exp $
#

DISTNAME= goggles-0.9.1
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= http://www.fifthplanet.net/files/
EXTRACT_SUFX= .tar.bz2
Expand All @@ -12,7 +12,9 @@ HOMEPAGE= http://www.fifthplanet.net/goggles.html
COMMENT= Easy to use frontend for Ogle DVD Player

USE_LANGUAGES+= c c++ # c for configure script
USE_TOOLS+= gmake
USE_TOOLS+= gmake bash:run

REPLACE_BASH= gb

do-build:
cd ${WRKSRC} && ${MAKE_ENV} ./gb --prefix=${PREFIX} \
Expand Down
7 changes: 6 additions & 1 deletion multimedia/goggles/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
$NetBSD: distinfo,v 1.1.1.1 2008/03/12 20:52:02 wiz Exp $
$NetBSD: distinfo,v 1.2 2009/11/14 22:07:07 yyamano Exp $

SHA1 (goggles-0.9.1.tar.bz2) = 2e464e1bcf699a18f6190f5571877356388c778a
RMD160 (goggles-0.9.1.tar.bz2) = 6a15a365b1b4bfaba1b6d294d2e7379b4f0fb560
Size (goggles-0.9.1.tar.bz2) = 486290 bytes
SHA1 (patch-aa) = 8c03ccd0f8d9e8b72753b16b2c0cbd7e66833dd1
SHA1 (patch-ab) = fa92fa5d3d1430f77b32b28e8911d25bdc85a8d2
SHA1 (patch-ac) = de988af6dc662358ed3571095035dbf95160d9b8
SHA1 (patch-ad) = b32a9dd9590318171473488142c873a819e99c7c
SHA1 (patch-ae) = 1a45cee64e5bff7dd0c3ebc9c3b7ac201104a221
SHA1 (patch-af) = f64d26c857b09db2fe56aa10a974ca6f5af31213
20 changes: 20 additions & 0 deletions multimedia/goggles/patches/patch-ab
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
$NetBSD: patch-ab,v 1.1 2009/11/14 22:07:07 yyamano Exp $

--- build/config.generic.orig 2006-11-26 14:19:17.000000000 -0800
+++ build/config.generic
@@ -23,15 +23,12 @@ export PICFLAG="" #
if [ $DEFS == "-DDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -g -pipe }"
export CXXFLAGS="${CXXFLAGS:--Wall -g -pipe}"
- export LDFLAGS=""
elif [ $DEFS == "-DNDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -O3 -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -O3 -pipe}"
- export LDFLAGS="-s"
else
export CFLAGS="${CFLAGS:--Wall -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -pipe}"
- export LDFLAGS=""
fi

export CPPFLAGS="-I./include ${CPPFLAGS}"
22 changes: 22 additions & 0 deletions multimedia/goggles/patches/patch-ac
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
$NetBSD: patch-ac,v 1.1 2009/11/14 22:07:07 yyamano Exp $

--- build/config.hpux.orig 2006-11-26 14:19:18.000000000 -0800
+++ build/config.hpux
@@ -24,16 +24,13 @@ export PICFLAG="" #
if [ $DEFS == "-DDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -g -pipe }"
export CXXFLAGS="${CXXFLAGS:--Wall -g -pipe}"
- export LDFLAGS=""
elif [ $DEFS == "-DNDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -O3 -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -O3 -pipe}"
- export LDFLAGS="-s"
else
export CFLAGS="${CFLAGS:--Wall -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -pipe}"
- export LDFLAGS=""
- fi
+fi

export CPPFLAGS="-I./include ${CPPFLAGS}"
export LIBS=""
20 changes: 20 additions & 0 deletions multimedia/goggles/patches/patch-ad
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
$NetBSD: patch-ad,v 1.1 2009/11/14 22:07:07 yyamano Exp $

--- build/config.linux.orig 2006-11-26 14:19:18.000000000 -0800
+++ build/config.linux
@@ -23,15 +23,12 @@ export PICFLAG="" #
if [ $DEFS == "-DDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -g -pipe -Wextra}"
export CXXFLAGS="${CXXFLAGS:--Wall -g -pipe -Wextra}"
- export LDFLAGS=""
elif [ $DEFS == "-DNDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -O3 -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -O3 -pipe}"
- export LDFLAGS="-s"
else
export CFLAGS="${CFLAGS:--Wall -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -pipe}"
- export LDFLAGS=""
fi

export CPPFLAGS="-I./include ${CPPFLAGS}"
20 changes: 20 additions & 0 deletions multimedia/goggles/patches/patch-ae
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
$NetBSD: patch-ae,v 1.1 2009/11/14 22:07:07 yyamano Exp $

--- build/config.linux_x86_64.orig 2006-11-26 14:19:18.000000000 -0800
+++ build/config.linux_x86_64
@@ -23,15 +23,12 @@ export PICFLAG="" #
if [ $DEFS == "-DDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -g -pipe }"
export CXXFLAGS="${CXXFLAGS:--Wall -g -pipe}"
- export LDFLAGS=""
elif [ $DEFS == "-DNDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -O3 -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -O3 -pipe}"
- export LDFLAGS="-s"
else
export CFLAGS="${CFLAGS:--Wall -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -pipe}"
- export LDFLAGS=""
fi

export CPPFLAGS="-I./include ${CPPFLAGS}"
22 changes: 22 additions & 0 deletions multimedia/goggles/patches/patch-af
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
$NetBSD: patch-af,v 1.1 2009/11/14 22:07:07 yyamano Exp $

--- build/config.solaris.orig 2006-11-26 14:19:18.000000000 -0800
+++ build/config.solaris
@@ -23,16 +23,13 @@ export PICFLAG="" #
if [ $DEFS == "-DDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -g -pipe }"
export CXXFLAGS="${CXXFLAGS:--Wall -g -pipe}"
- export LDFLAGS=""
elif [ $DEFS == "-DNDEBUG" ] ; then
export CFLAGS="${CFLAGS:--Wall -O3 -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -O3 -pipe}"
- export LDFLAGS="-s"
else
export CFLAGS="${CFLAGS:--Wall -pipe}"
export CXXFLAGS="${CXXFLAGS:--Wall -pipe}"
- export LDFLAGS=""
- fi
+fi

export CPPFLAGS="-I./include ${CPPFLAGS}"
export LIBS=""

0 comments on commit 3ab50a8

Please sign in to comment.