diff options
Diffstat (limited to 'graphics/aeskulap/aeskulap.SlackBuild')
-rw-r--r-- | graphics/aeskulap/aeskulap.SlackBuild | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/aeskulap/aeskulap.SlackBuild b/graphics/aeskulap/aeskulap.SlackBuild index aa2436ab27..c70a3fc5b9 100644 --- a/graphics/aeskulap/aeskulap.SlackBuild +++ b/graphics/aeskulap/aeskulap.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=aeskulap VERSION=0.2.2_beta1 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCVER=$(printf $VERSION | tr _ -) @@ -72,7 +72,10 @@ find . \ -exec chmod 644 {} \; # Fix missing #include and libdir for 64 bit -patch -p1 < $CWD/${PRGNAM}-${VERSION}.patch || exit 1 +patch -p1 < $CWD/$PRGNAM-$SRCVER.patch || exit 1 + +# Fix for gcc-4.7.x +patch -p1 < $CWD/gcc47.patch CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -99,7 +102,7 @@ cp -a \ ABOUT-NLS COPYING COPYING.DCMTK COPYING.LIB ChangeLog INSTALL README \ $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -cat $CWD/${PRGNAM}-${VERSION}.patch > $PKG/usr/doc/$PRGNAM-$VERSION/${PRGNAM}-${VERSION}.patch +cat $CWD/$PRGNAM-$SRCVER.patch > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM-$SRCVER.patch mv $PKG/usr/share/doc/* $PKG/usr/doc/$PRGNAM-$VERSION rmdir $PKG/usr/share/doc |