summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2017-07-24 05:32:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-26 18:29:13 +0700
commit96f38c22cefa72f46a764909538564e9278e1951 (patch)
tree69d625efa317cc3149cf7abfb76abf3cb40e3c1c
parent5bd674ade25efdf1ca1c101d5880394b4a6da2f8 (diff)
downloadslackbuilds-96f38c22cefa72f46a764909538564e9278e1951.tar.gz
gis/foxtrotgps: Put everything in the build directory.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--gis/foxtrotgps/foxtrotgps.SlackBuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/gis/foxtrotgps/foxtrotgps.SlackBuild b/gis/foxtrotgps/foxtrotgps.SlackBuild
index e4f2d3e073..98d82cd06a 100644
--- a/gis/foxtrotgps/foxtrotgps.SlackBuild
+++ b/gis/foxtrotgps/foxtrotgps.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by Mario Preksavec <mario at slackware dot hr>
+
PRGNAM=foxtrotgps
VERSION=${VERSION:-1.2.0}
BUILD=${BUILD:-1}
@@ -69,6 +71,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# "--with-gconf-source" requires this, it will put all files in the package
+mkdir -p $PKG/etc/gconf/gconf.xml.defaults
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,6 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--infodir=/usr/info \
+ --with-gconf-source=xml:merged:$PKG/etc/gconf/gconf.xml.defaults \
--build=$ARCH-slackware-linux
make