Compare commits

...
Sign in to create a new pull request.

5 commits

Author SHA1 Message Date
Fedora Release Engineering
d7b89cecf8 dist-git conversion 2010-07-29 16:19:10 +00:00
Bill Nottingham
3e708a5063 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:19 +00:00
Gérard Milmeister
5f80b6edef also build libYap.so 2007-07-05 15:50:23 +00:00
Gérard Milmeister
45d76d072d remove -fstack-protector from optflags in order to enable loading of .so
modules
2007-05-11 20:39:50 +00:00
Jeremy Katz
9f9794c0e2 Initialize branch FC-6 for yap 2006-10-23 19:46:44 +00:00
3 changed files with 15 additions and 23 deletions

View file

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: yap
# $Id$
NAME := yap
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -1,6 +1,6 @@
Name: yap
Version: 5.1.1
Release: 2%{?dist}
Release: 5%{?dist}
Summary: High-performance Prolog Compiler
@ -48,12 +48,17 @@ Documentation for Yap.
%setup -q -n Yap-%{version}
%patch1 -p1
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} LGPL/chr
# remove redundant rpath
sed -i "/-Wl,-R/d" configure
%build
%define optflags $(echo $RPM_OPT_FLAGS | sed 's|-fstack-protector||')
%configure \
--enable-coroutining \
--enable-max-performance \
--enable-depth-limit
--enable-depth-limit \
--enable-dynamic-loading
make %{?_smp_mflags}
(cd docs; make info)
@ -100,6 +105,7 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/yap
%{_datadir}/Yap
%{_prefix}/lib/Yap
%{_prefix}/lib/libYap.so
%{_infodir}/*
@ -120,6 +126,13 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Jul 5 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-5
- also build libYap.so
* Fri May 11 2007 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-3
- remove -fstack-protector from optflags in order to enable
loading of .so modules
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 5.1.1-2
- Rebuild for FE6