diff options
author | rillig <rillig@pkgsrc.org> | 2008-02-20 10:04:24 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2008-02-20 10:04:24 +0000 |
commit | 78bbe78d4111c2db0f5fda534cab546440eec690 (patch) | |
tree | d252096eb9c2124be1d8a095574b7ef9b894e72c /devel/allegro | |
parent | 8134db3e94a841fcabe61c5bf2224946b8c8ee26 (diff) | |
download | pkgsrc-78bbe78d4111c2db0f5fda534cab546440eec690.tar.gz |
Don't install the library stripped when the pkgsrc user says
INSTALL_UNSTRIPPED=yes.
Diffstat (limited to 'devel/allegro')
-rw-r--r-- | devel/allegro/Makefile | 8 | ||||
-rw-r--r-- | devel/allegro/distinfo | 3 | ||||
-rw-r--r-- | devel/allegro/patches/patch-de | 15 |
3 files changed, 23 insertions, 3 deletions
diff --git a/devel/allegro/Makefile b/devel/allegro/Makefile index beb84e7b9d8..423fb99fe24 100644 --- a/devel/allegro/Makefile +++ b/devel/allegro/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2007/11/29 22:45:22 wiz Exp $ +# $NetBSD: Makefile,v 1.28 2008/02/20 10:04:24 rillig Exp $ DISTNAME= allegro-4.2.2 CATEGORIES= devel @@ -21,10 +21,14 @@ CONFIGURE_ARGS+= --disable-ossmidi .include "options.mk" +.if !empty(INSTALL_UNSTRIPPED:Uno:M[Yy][Ee][Ss]) +CONFIGURE_ARGS+= allegro_cv_prog_ld_s=no +.endif + SUBST_CLASSES+= oss SUBST_STAGE.oss= post-patch SUBST_FILES.oss= src/unix/uoss.c setup/setup.c -SUBST_SED.oss= -e "s,/dev/dsp,"${DEVOSSAUDIO:Q}",g" +SUBST_SED.oss= -e "s,/dev/dsp,${DEVOSSAUDIO},g" SUBST_MESSAGE.oss= Fixing hardcoded audio device. SUBST_CLASSES+= path diff --git a/devel/allegro/distinfo b/devel/allegro/distinfo index e8eadc3f0a3..021546dbffa 100644 --- a/devel/allegro/distinfo +++ b/devel/allegro/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2007/11/29 22:45:23 wiz Exp $ +$NetBSD: distinfo,v 1.17 2008/02/20 10:04:24 rillig Exp $ SHA1 (allegro-4.2.2.tar.gz) = 1526fc87e028db9de0b94fd8d0697e47b91b15b7 RMD160 (allegro-4.2.2.tar.gz) = 4cefa321f38aa955d857ac3b74e529bc8e044fe9 @@ -8,3 +8,4 @@ SHA1 (patch-ac) = 78f99723b095f460f20e8367fffb443a8f3d6ab6 SHA1 (patch-ad) = 52f694e1b0053cff94c53ee10f603d535eba5fa5 SHA1 (patch-ae) = 32e5ecd77e58bb6926c207c668755043448457f9 SHA1 (patch-ax) = b79d1bf82fc0e9bba9b7d81e6d2005f35a217ca0 +SHA1 (patch-de) = 6233472355f49442a5278e1f49dd888f51433a93 diff --git a/devel/allegro/patches/patch-de b/devel/allegro/patches/patch-de new file mode 100644 index 00000000000..c1973938c17 --- /dev/null +++ b/devel/allegro/patches/patch-de @@ -0,0 +1,15 @@ +$NetBSD: patch-de,v 1.1 2008/02/20 10:04:25 rillig Exp $ + +Don't install libraries stripped if the user doesn't say. + +--- misc/deplib.sh.orig 2003-05-17 12:58:09.000000000 +0000 ++++ misc/deplib.sh 2008-02-20 09:44:06.000000000 +0000 +@@ -70,7 +70,7 @@ for file in .. $unsharable_objects; do + done + echo "$prev" + echo "" +-write_code alleg LIBALLEG -s ++write_code alleg LIBALLEG "" + echo "" + echo "" + |