1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Satisfiability (SAT) solver for boolean variables
8 HOMEPAGE= http://fmv.jku.at/picosat/
12 SITES[main]= http://fmv.jku.at/picosat/
13 DISTFILE[1]= picosat-965.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
21 LICENSE_FILE= MIT:{{WRKSRC}}/LICENSE
24 FPC_EQUIVALENT= math/picosat
27 CONFIGURE_SCRIPT= configure.sh
28 CONFIGURE_ARGS= --shared
34 INSTALL_TARGET= install-shared
36 [FILE:449:descriptions/desc.single]
37 PicoSAT is a satisfiability (SAT) solver for boolean variables in
38 boolean expressions. A SAT solver can determine if it is possible to
39 find assignments to boolean variables that would make a given set of
40 expressions true. If it's satisfiable, it can also show a set of
41 assignments that make the expression true.
43 Many problems can be broken down into a large SAT problem (perhaps with
44 thousands of variables), so SAT solvers have a variety of uses.
48 15169b4f28ba8f628f353f6f75a100845cdef4a2244f101a02b6e5a26e46a754 64386 picosat-965.tar.gz
51 [FILE:129:manifests/plist.single]
65 [FILE:478:patches/patch-configure.sh]
66 --- configure.sh.orig 2016-01-13 07:19:13 UTC
68 @@ -108,6 +108,13 @@ then
77 + CFLAGS="$CFLAGS -DNDEBUG"
82 @@ -131,8 +138,7 @@ fi
86 - TARGETS="$TARGETS libpicosat.so"
87 - CFLAGS="$CFLAGS -fPIC"
88 + TARGETS="$TARGETS libpicosat.so libpicosat_pic.a"
90 echo "targets ... $TARGETS"
94 [FILE:1352:patches/patch-makefile.in]
95 --- makefile.in.orig 2016-01-13 07:19:13 UTC
97 @@ -52,8 +52,35 @@ libpicosat.a: picosat.o version.o
98 ar rc $@ picosat.o version.o
101 -SONAME=-Xlinker -soname -Xlinker libpicosat.so
102 -libpicosat.so: picosat.o version.o
103 - $(CC) $(CFLAGS) -shared -o $@ picosat.o version.o $(SONAME)
107 + $(CC) $(CFLAGS) -fpic -DPIC -o $(.TARGET) -c $(.ALLSRC)
109 +SONAME=-Wl,-soname,libpicosat.so.1
110 +libpicosat.so.1: picosat.So version.So
111 + $(CC) $(CFLAGS) -shared -o $(.TARGET) $(.ALLSRC) $(SONAME)
113 +libpicosat.so: libpicosat.so.1
114 + ln -s $(.ALLSRC) $(.TARGET)
116 +libpicosat_pic.a: picosat.So version.So
117 + ar rc $(.TARGET) $(.ALLSRC)
121 + ${BSD_INSTALL_PROGRAM} picosat picomcs picomus picogcnf \
122 + ${DESTDIR}${PREFIX}/bin/
123 + ${BSD_INSTALL_DATA} picosat.h ${DESTDIR}${PREFIX}/include
124 + ${BSD_INSTALL_DATA} libpicosat.a ${DESTDIR}${PREFIX}/lib/
125 + ${BSD_INSTALL_DATA} libpicosat_pic.a ${DESTDIR}${PREFIX}/lib/
126 + ${BSD_INSTALL_LIB} libpicosat.so.1 ${DESTDIR}${PREFIX}/lib/
127 + (cd ${DESTDIR}${PREFIX}/lib && ln -s libpicosat.so.1 libpicosat.so)
130 + ${BSD_INSTALL_PROGRAM} picosat picomcs picomus picogcnf \
131 + ${DESTDIR}${PREFIX}/bin/
132 + ${BSD_INSTALL_DATA} picosat.h ${DESTDIR}${PREFIX}/include
133 + ${BSD_INSTALL_DATA} libpicosat.a ${DESTDIR}${PREFIX}/lib/