Browse Source

nbd: changed to build only the client, without requiring glib

0.2-maint
Alejandro Mery 13 years ago
parent
commit
5824b39881
2 changed files with 45 additions and 0 deletions
  1. +19
    -0
      pkg_nbd.conf
  2. +26
    -0
      pkg_nbd.patch

+ 19
- 0
pkg_nbd.conf

@ -0,0 +1,19 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/idunn/pkg_nbd.conf
# Copyright (C) 2008 - 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License. A copy of the
# GNU General Public License can be found in the file COPYING.
# --- SDE-COPYRIGHT-NOTE-END ---
autogen=1
var_append makeopt ' ' 'nbd-client'
makeinstopt="$makeopt install-sbinPROGRAMS"

+ 26
- 0
pkg_nbd.patch

@ -0,0 +1,26 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: target/idunn/pkg_nbd.patch
# Copyright (C) 2008 - 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./configure.ac.orig 2008-09-13 22:28:58.000000000 -0400
+++ ./configure.ac 2008-09-13 22:30:29.000000000 -0400
@@ -195,7 +195,6 @@
[[#include <sys/param.h>
]])
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h sys/ioctl.h sys/socket.h syslog.h])
-AM_PATH_GLIB_2_0(2.6.0, [HAVE_GLIB=yes], AC_MSG_ERROR([Missing glib]))
AC_HEADER_SYS_WAIT
AC_TYPE_OFF_T
AC_TYPE_PID_T

Loading…
Cancel
Save